Package com.sap.ai.sdk.core.model
Class MetaAiApi
java.lang.Object
com.sap.ai.sdk.core.model.MetaAiApi
There are (currently) the following types of execution engines 1) complete runtimes that offer
executions and deployments, 2) runtimes that do only batch inference and therefore don't
support deployments 3) runtimes that allow deployments, but with predefined models and therefore
don't need executions 4) runtimes that have fixed endpoints and therefore only need listing
deployments
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapabilities(MetaAiApiCapabilities capabilities) Set the capabilities of thisMetaAiApiinstance and return the same instance.static MetaAiApi.Buildercreate()Create a type-safe, fluent-api builder object to construct a newMetaAiApiinstance with all required arguments.booleanGet capabilitiesgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaAiApi.Get limitsGet versioninthashCode()limits(MetaAiApiLimits limits) Set the limits of thisMetaAiApiinstance and return the same instance.voidsetCapabilities(MetaAiApiCapabilities capabilities) Set the capabilities of thisMetaAiApiinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaAiApiinstance.voidsetLimits(MetaAiApiLimits limits) Set the limits of thisMetaAiApiinstance.voidsetVersion(String version) Set the version of thisMetaAiApiinstance.toMap()Get the value of all properties of thisMetaAiApiinstance including unrecognized properties.toString()Set the version of thisMetaAiApiinstance and return the same instance.
-
Constructor Details
-
MetaAiApi
protected MetaAiApi()Default constructor for MetaAiApi.
-
-
Method Details
-
version
Set the version of thisMetaAiApiinstance and return the same instance. -
getVersion
Get version- Returns:
- version The version of this
MetaAiApiinstance.
-
setVersion
Set the version of thisMetaAiApiinstance.- Parameters:
version- The version of thisMetaAiApi
-
capabilities
Set the capabilities of thisMetaAiApiinstance and return the same instance. -
getCapabilities
Get capabilities- Returns:
- capabilities The capabilities of this
MetaAiApiinstance.
-
setCapabilities
Set the capabilities of thisMetaAiApiinstance.- Parameters:
capabilities- The capabilities of thisMetaAiApi
-
limits
Set the limits of thisMetaAiApiinstance and return the same instance. -
getLimits
Get limits- Returns:
- limits The limits of this
MetaAiApiinstance.
-
setLimits
Set the limits of thisMetaAiApiinstance.- Parameters:
limits- The limits of thisMetaAiApi
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaAiApi.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisMetaAiApiinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisMetaAiApiinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaAiApiinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newMetaAiApiinstance with all required arguments.
-
toMap()instead.