Package com.sap.ai.sdk.core.model
Class BckndServiceCapabilitiesBasic
java.lang.Object
com.sap.ai.sdk.core.model.BckndServiceCapabilitiesBasic
Basic capabilities like creating deployments and executions.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndServiceCapabilitiesBasic. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newBckndServiceCapabilitiesBasicinstance.createExecutions(Boolean createExecutions) Set the createExecutions of thisBckndServiceCapabilitiesBasicinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndServiceCapabilitiesBasic.inthashCode()Services that only support deployment typically neither allow create executions.true-> AI API implementation supports resource groups (Main Tenant scenario), false-> implementation does not support resource groups (Service Tenant scenario)There are static always running endpoints that can be used for inference without the need to do user deployments.Services that only support batch inference typically neither allow listing nor creation of deployments.Services that only support create, read and delete of prompt templatesmultitenant(Boolean multitenant) Set the multitenant of thisBckndServiceCapabilitiesBasicinstance and return the same instance.voidsetCreateExecutions(Boolean createExecutions) Set the createExecutions of thisBckndServiceCapabilitiesBasicinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndServiceCapabilitiesBasicinstance.voidsetMultitenant(Boolean multitenant) Set the multitenant of thisBckndServiceCapabilitiesBasicinstance.voidsetStaticDeployments(Boolean staticDeployments) Set the staticDeployments of thisBckndServiceCapabilitiesBasicinstance.voidsetUserDeployments(Boolean userDeployments) Set the userDeployments of thisBckndServiceCapabilitiesBasicinstance.voidsetUserPromptTemplates(Boolean userPromptTemplates) Set the userPromptTemplates of thisBckndServiceCapabilitiesBasicinstance.staticDeployments(Boolean staticDeployments) Set the staticDeployments of thisBckndServiceCapabilitiesBasicinstance and return the same instance.toMap()Get the value of all properties of thisBckndServiceCapabilitiesBasicinstance including unrecognized properties.toString()userDeployments(Boolean userDeployments) Set the userDeployments of thisBckndServiceCapabilitiesBasicinstance and return the same instance.userPromptTemplates(Boolean userPromptTemplates) Set the userPromptTemplates of thisBckndServiceCapabilitiesBasicinstance and return the same instance.
-
Constructor Details
-
BckndServiceCapabilitiesBasic
protected BckndServiceCapabilitiesBasic()Default constructor for BckndServiceCapabilitiesBasic.
-
-
Method Details
-
staticDeployments
@Nonnull public BckndServiceCapabilitiesBasic staticDeployments(@Nullable Boolean staticDeployments) Set the staticDeployments of thisBckndServiceCapabilitiesBasicinstance 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
BckndServiceCapabilitiesBasicclass
-
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
BckndServiceCapabilitiesBasicinstance.
-
setStaticDeployments
Set the staticDeployments of thisBckndServiceCapabilitiesBasicinstance.- 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 thisBckndServiceCapabilitiesBasicinstance 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
BckndServiceCapabilitiesBasicclass
-
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
BckndServiceCapabilitiesBasicinstance.
-
setUserDeployments
Set the userDeployments of thisBckndServiceCapabilitiesBasicinstance.- Parameters:
userDeployments- Services that only support batch inference typically neither allow listing nor creation of deployments. For these, userDeployments == false
-
createExecutions
Set the createExecutions of thisBckndServiceCapabilitiesBasicinstance and return the same instance.- Parameters:
createExecutions- Services that only support deployment typically neither allow create executions. For these, createExecutions == false- Returns:
- The same instance of this
BckndServiceCapabilitiesBasicclass
-
isCreateExecutions
Services that only support deployment typically neither allow create executions. For these, createExecutions == false- Returns:
- createExecutions The createExecutions of this
BckndServiceCapabilitiesBasicinstance.
-
setCreateExecutions
Set the createExecutions of thisBckndServiceCapabilitiesBasicinstance.- Parameters:
createExecutions- Services that only support deployment typically neither allow create executions. For these, createExecutions == false
-
userPromptTemplates
@Nonnull public BckndServiceCapabilitiesBasic userPromptTemplates(@Nullable Boolean userPromptTemplates) Set the userPromptTemplates of thisBckndServiceCapabilitiesBasicinstance and return the same instance.- Parameters:
userPromptTemplates- Services that only support create, read and delete of prompt templates- Returns:
- The same instance of this
BckndServiceCapabilitiesBasicclass
-
isUserPromptTemplates
Services that only support create, read and delete of prompt templates- Returns:
- userPromptTemplates The userPromptTemplates of this
BckndServiceCapabilitiesBasicinstance.
-
setUserPromptTemplates
Set the userPromptTemplates of thisBckndServiceCapabilitiesBasicinstance.- Parameters:
userPromptTemplates- Services that only support create, read and delete of prompt templates
-
multitenant
Set the multitenant of thisBckndServiceCapabilitiesBasicinstance 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
BckndServiceCapabilitiesBasicclass
-
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
BckndServiceCapabilitiesBasicinstance.
-
setMultitenant
Set the multitenant of thisBckndServiceCapabilitiesBasicinstance.- Parameters:
multitenant- true-> AI API implementation supports resource groups (Main Tenant scenario), false-> implementation does not support resource groups (Service Tenant scenario)
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndServiceCapabilitiesBasic.- 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 thisBckndServiceCapabilitiesBasicinstance.- 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 thisBckndServiceCapabilitiesBasicinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndServiceCapabilitiesBasicinstance. 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 newBckndServiceCapabilitiesBasicinstance. No arguments are required.
-
toMap()instead.