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