Package com.sap.ai.sdk.core.model
Class MetaAiApiCapabilities
java.lang.Object
com.sap.ai.sdk.core.model.MetaAiApiCapabilities
MetaAiApiCapabilities
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for MetaAiApiCapabilities. -
Method Summary
Modifier and TypeMethodDescriptionbulkUpdates(MetaAiApiCapabilitiesBulkUpdates bulkUpdates) Set the bulkUpdates of thisMetaAiApiCapabilitiesinstance and return the same instance.static MetaAiApiCapabilitiescreate()Create a newMetaAiApiCapabilitiesinstance.booleanexecutionSchedules(Boolean executionSchedules) Set the executionSchedules of thisMetaAiApiCapabilitiesinstance and return the same instance.Get bulkUpdatesgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theMetaAiApiCapabilities.getLogs()Get logsinthashCode()Get executionSchedulestrue-> AI API implementation supports resource groups (Main Tenant scenario), false-> implementation does not support resource groups (Service Tenant scenario)true-> clients can use just one instance (global static models), false-> clients should avoid sharing an instanceThere are static always running endpoints that can be used for inference without the need to do user deployments.Get timeToLiveDeploymentsServices that only support batch inference typically neither allow listing nor creation of deployments.Get userExecutionsSet the logs of thisMetaAiApiCapabilitiesinstance and return the same instance.multitenant(Boolean multitenant) Set the multitenant of thisMetaAiApiCapabilitiesinstance and return the same instance.voidsetBulkUpdates(MetaAiApiCapabilitiesBulkUpdates bulkUpdates) Set the bulkUpdates of thisMetaAiApiCapabilitiesinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisMetaAiApiCapabilitiesinstance.voidsetExecutionSchedules(Boolean executionSchedules) Set the executionSchedules of thisMetaAiApiCapabilitiesinstance.voidSet the logs of thisMetaAiApiCapabilitiesinstance.voidsetMultitenant(Boolean multitenant) Set the multitenant of thisMetaAiApiCapabilitiesinstance.voidsetShareable(Boolean shareable) Set the shareable of thisMetaAiApiCapabilitiesinstance.voidsetStaticDeployments(Boolean staticDeployments) Set the staticDeployments of thisMetaAiApiCapabilitiesinstance.voidsetTimeToLiveDeployments(Boolean timeToLiveDeployments) Set the timeToLiveDeployments of thisMetaAiApiCapabilitiesinstance.voidsetUserDeployments(Boolean userDeployments) Set the userDeployments of thisMetaAiApiCapabilitiesinstance.voidsetUserExecutions(Boolean userExecutions) Set the userExecutions of thisMetaAiApiCapabilitiesinstance.Set the shareable of thisMetaAiApiCapabilitiesinstance and return the same instance.staticDeployments(Boolean staticDeployments) Set the staticDeployments of thisMetaAiApiCapabilitiesinstance and return the same instance.timeToLiveDeployments(Boolean timeToLiveDeployments) Set the timeToLiveDeployments of thisMetaAiApiCapabilitiesinstance and return the same instance.toMap()Get the value of all properties of thisMetaAiApiCapabilitiesinstance including unrecognized properties.toString()userDeployments(Boolean userDeployments) Set the userDeployments of thisMetaAiApiCapabilitiesinstance and return the same instance.userExecutions(Boolean userExecutions) Set the userExecutions of thisMetaAiApiCapabilitiesinstance and return the same instance.
-
Constructor Details
-
MetaAiApiCapabilities
protected MetaAiApiCapabilities()Default constructor for MetaAiApiCapabilities.
-
-
Method Details
-
multitenant
Set the multitenant of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
multitenant- true-> AI API implementation supports resource groups (Main Tenant scenario), false-> implementation does not support resource groups (Service Tenant scenario)- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
isMultitenant
true-> AI API implementation supports resource groups (Main Tenant scenario), false-> implementation does not support resource groups (Service Tenant scenario)- Returns:
- multitenant The multitenant of this
MetaAiApiCapabilitiesinstance.
-
setMultitenant
Set the multitenant of thisMetaAiApiCapabilitiesinstance.- Parameters:
multitenant- true-> AI API implementation supports resource groups (Main Tenant scenario), false-> implementation does not support resource groups (Service Tenant scenario)
-
staticDeployments
Set the staticDeployments of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
staticDeployments- There are static always running endpoints that can be used for inference without the need to do user deployments.- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
isStaticDeployments
There are static always running endpoints that can be used for inference without the need to do user deployments.- Returns:
- staticDeployments The staticDeployments of this
MetaAiApiCapabilitiesinstance.
-
setStaticDeployments
Set the staticDeployments of thisMetaAiApiCapabilitiesinstance.- Parameters:
staticDeployments- There are static always running endpoints that can be used for inference without the need to do user deployments.
-
userDeployments
Set the userDeployments of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
userDeployments- Services that only support batch inference typically neither allow listing nor creation of deployments. For these, userDeployments == false- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
isUserDeployments
Services that only support batch inference typically neither allow listing nor creation of deployments. For these, userDeployments == false- Returns:
- userDeployments The userDeployments of this
MetaAiApiCapabilitiesinstance.
-
setUserDeployments
Set the userDeployments of thisMetaAiApiCapabilitiesinstance.- Parameters:
userDeployments- Services that only support batch inference typically neither allow listing nor creation of deployments. For these, userDeployments == false
-
userExecutions
Set the userExecutions of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
userExecutions- The userExecutions of thisMetaAiApiCapabilities- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
isUserExecutions
Get userExecutions- Returns:
- userExecutions The userExecutions of this
MetaAiApiCapabilitiesinstance.
-
setUserExecutions
Set the userExecutions of thisMetaAiApiCapabilitiesinstance.- Parameters:
userExecutions- The userExecutions of thisMetaAiApiCapabilities
-
timeToLiveDeployments
@Nonnull public MetaAiApiCapabilities timeToLiveDeployments(@Nullable Boolean timeToLiveDeployments) Set the timeToLiveDeployments of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
timeToLiveDeployments- The timeToLiveDeployments of thisMetaAiApiCapabilities- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
isTimeToLiveDeployments
Get timeToLiveDeployments- Returns:
- timeToLiveDeployments The timeToLiveDeployments of this
MetaAiApiCapabilitiesinstance.
-
setTimeToLiveDeployments
Set the timeToLiveDeployments of thisMetaAiApiCapabilitiesinstance.- Parameters:
timeToLiveDeployments- The timeToLiveDeployments of thisMetaAiApiCapabilities
-
executionSchedules
Set the executionSchedules of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
executionSchedules- The executionSchedules of thisMetaAiApiCapabilities- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
isExecutionSchedules
Get executionSchedules- Returns:
- executionSchedules The executionSchedules of this
MetaAiApiCapabilitiesinstance.
-
setExecutionSchedules
Set the executionSchedules of thisMetaAiApiCapabilitiesinstance.- Parameters:
executionSchedules- The executionSchedules of thisMetaAiApiCapabilities
-
logs
Set the logs of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
logs- The logs of thisMetaAiApiCapabilities- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
getLogs
Get logs- Returns:
- logs The logs of this
MetaAiApiCapabilitiesinstance.
-
setLogs
Set the logs of thisMetaAiApiCapabilitiesinstance.- Parameters:
logs- The logs of thisMetaAiApiCapabilities
-
bulkUpdates
@Nonnull public MetaAiApiCapabilities bulkUpdates(@Nullable MetaAiApiCapabilitiesBulkUpdates bulkUpdates) Set the bulkUpdates of thisMetaAiApiCapabilitiesinstance and return the same instance.- Parameters:
bulkUpdates- The bulkUpdates of thisMetaAiApiCapabilities- Returns:
- The same instance of this
MetaAiApiCapabilitiesclass
-
getBulkUpdates
Get bulkUpdates- Returns:
- bulkUpdates The bulkUpdates of this
MetaAiApiCapabilitiesinstance.
-
setBulkUpdates
Set the bulkUpdates of thisMetaAiApiCapabilitiesinstance.- Parameters:
bulkUpdates- The bulkUpdates of thisMetaAiApiCapabilities
-
getCustomFieldNames
Get the names of the unrecognizable properties of theMetaAiApiCapabilities.- 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 thisMetaAiApiCapabilitiesinstance.- 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 thisMetaAiApiCapabilitiesinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisMetaAiApiCapabilitiesinstance. 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 newMetaAiApiCapabilitiesinstance. No arguments are required.
-
toMap()instead.