Package com.sap.ai.sdk.core.model
Class AiScalingDetails
java.lang.Object
com.sap.ai.sdk.core.model.AiScalingDetails
Scaling details of a deployment
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiScalingDetails. -
Method Summary
Modifier and TypeMethodDescriptionbackendDetails(Object backendDetails) Set the backendDetails of thisAiScalingDetailsinstance and return the same instance.static AiScalingDetailscreate()Create a newAiScalingDetailsinstance.booleanbackend-specific details of the deploymentgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiScalingDetails.inthashCode()voidsetBackendDetails(Object backendDetails) Set the backendDetails of thisAiScalingDetailsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiScalingDetailsinstance.toMap()Get the value of all properties of thisAiScalingDetailsinstance including unrecognized properties.toString()
-
Constructor Details
-
AiScalingDetails
protected AiScalingDetails()Default constructor for AiScalingDetails.
-
-
Method Details
-
backendDetails
Set the backendDetails of thisAiScalingDetailsinstance and return the same instance.- Parameters:
backendDetails- backend-specific details of the deployment- Returns:
- The same instance of this
AiScalingDetailsclass
-
getBackendDetails
backend-specific details of the deployment- Returns:
- backendDetails The backendDetails of this
AiScalingDetailsinstance.
-
setBackendDetails
Set the backendDetails of thisAiScalingDetailsinstance.- Parameters:
backendDetails- backend-specific details of the deployment
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiScalingDetails.- 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 thisAiScalingDetailsinstance.- 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 thisAiScalingDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiScalingDetailsinstance. 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 newAiScalingDetailsinstance. No arguments are required.
-
toMap()instead.