Package com.sap.ai.sdk.core.model
Class AiDeploymentDetails
java.lang.Object
com.sap.ai.sdk.core.model.AiDeploymentDetails
Detail information about a deployment (including predefined sections: `scaling` and
`resources`). JSON String representation of this object is limited to 5000 characters
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiDeploymentDetails. -
Method Summary
Modifier and TypeMethodDescriptionstatic AiDeploymentDetailscreate()Create a newAiDeploymentDetailsinstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiDeploymentDetails.Get resourcesGet scalinginthashCode()resources(AiResourcesDetails resources) Set the resources of thisAiDeploymentDetailsinstance and return the same instance.scaling(AiScalingDetails scaling) Set the scaling of thisAiDeploymentDetailsinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiDeploymentDetailsinstance.voidsetResources(AiResourcesDetails resources) Set the resources of thisAiDeploymentDetailsinstance.voidsetScaling(AiScalingDetails scaling) Set the scaling of thisAiDeploymentDetailsinstance.toMap()Get the value of all properties of thisAiDeploymentDetailsinstance including unrecognized properties.toString()
-
Constructor Details
-
AiDeploymentDetails
protected AiDeploymentDetails()Default constructor for AiDeploymentDetails.
-
-
Method Details
-
scaling
Set the scaling of thisAiDeploymentDetailsinstance and return the same instance.- Parameters:
scaling- The scaling of thisAiDeploymentDetails- Returns:
- The same instance of this
AiDeploymentDetailsclass
-
getScaling
Get scaling- Returns:
- scaling The scaling of this
AiDeploymentDetailsinstance.
-
setScaling
Set the scaling of thisAiDeploymentDetailsinstance.- Parameters:
scaling- The scaling of thisAiDeploymentDetails
-
resources
Set the resources of thisAiDeploymentDetailsinstance and return the same instance.- Parameters:
resources- The resources of thisAiDeploymentDetails- Returns:
- The same instance of this
AiDeploymentDetailsclass
-
getResources
Get resources- Returns:
- resources The resources of this
AiDeploymentDetailsinstance.
-
setResources
Set the resources of thisAiDeploymentDetailsinstance.- Parameters:
resources- The resources of thisAiDeploymentDetails
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiDeploymentDetails.- 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 thisAiDeploymentDetailsinstance.- 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 thisAiDeploymentDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiDeploymentDetailsinstance. 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 newAiDeploymentDetailsinstance. No arguments are required.
-
toMap()instead.