Package com.sap.ai.sdk.core.model
Class BckndUsageResourcePlanItem
java.lang.Object
com.sap.ai.sdk.core.model.BckndUsageResourcePlanItem
BckndUsageResourcePlanItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndUsageResourcePlanItem. -
Method Summary
Modifier and TypeMethodDescriptionconfiguredMaxReplicas(Integer configuredMaxReplicas) Set the configuredMaxReplicas of thisBckndUsageResourcePlanIteminstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newBckndUsageResourcePlanIteminstance with all required arguments.booleanGet configuredMaxReplicasgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndUsageResourcePlanItem.getId()Get idGet resourcePlanTypeinthashCode()Set the id of thisBckndUsageResourcePlanIteminstance and return the same instance.resourcePlanType(String resourcePlanType) Set the resourcePlanType of thisBckndUsageResourcePlanIteminstance and return the same instance.voidsetConfiguredMaxReplicas(Integer configuredMaxReplicas) Set the configuredMaxReplicas of thisBckndUsageResourcePlanIteminstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndUsageResourcePlanIteminstance.voidSet the id of thisBckndUsageResourcePlanIteminstance.voidsetResourcePlanType(String resourcePlanType) Set the resourcePlanType of thisBckndUsageResourcePlanIteminstance.toMap()Get the value of all properties of thisBckndUsageResourcePlanIteminstance including unrecognized properties.toString()
-
Constructor Details
-
BckndUsageResourcePlanItem
protected BckndUsageResourcePlanItem()Default constructor for BckndUsageResourcePlanItem.
-
-
Method Details
-
id
Set the id of thisBckndUsageResourcePlanIteminstance and return the same instance.- Parameters:
id- The id of thisBckndUsageResourcePlanItem- Returns:
- The same instance of this
BckndUsageResourcePlanItemclass
-
getId
Get id- Returns:
- id The id of this
BckndUsageResourcePlanIteminstance.
-
setId
Set the id of thisBckndUsageResourcePlanIteminstance.- Parameters:
id- The id of thisBckndUsageResourcePlanItem
-
resourcePlanType
Set the resourcePlanType of thisBckndUsageResourcePlanIteminstance and return the same instance.- Parameters:
resourcePlanType- The resourcePlanType of thisBckndUsageResourcePlanItem- Returns:
- The same instance of this
BckndUsageResourcePlanItemclass
-
getResourcePlanType
Get resourcePlanType- Returns:
- resourcePlanType The resourcePlanType of this
BckndUsageResourcePlanIteminstance.
-
setResourcePlanType
Set the resourcePlanType of thisBckndUsageResourcePlanIteminstance.- Parameters:
resourcePlanType- The resourcePlanType of thisBckndUsageResourcePlanItem
-
configuredMaxReplicas
@Nonnull public BckndUsageResourcePlanItem configuredMaxReplicas(@Nullable Integer configuredMaxReplicas) Set the configuredMaxReplicas of thisBckndUsageResourcePlanIteminstance and return the same instance.- Parameters:
configuredMaxReplicas- The configuredMaxReplicas of thisBckndUsageResourcePlanItem- Returns:
- The same instance of this
BckndUsageResourcePlanItemclass
-
getConfiguredMaxReplicas
Get configuredMaxReplicas- Returns:
- configuredMaxReplicas The configuredMaxReplicas of this
BckndUsageResourcePlanIteminstance.
-
setConfiguredMaxReplicas
Set the configuredMaxReplicas of thisBckndUsageResourcePlanIteminstance.- Parameters:
configuredMaxReplicas- The configuredMaxReplicas of thisBckndUsageResourcePlanItem
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndUsageResourcePlanItem.- 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 thisBckndUsageResourcePlanIteminstance.- 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 thisBckndUsageResourcePlanIteminstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndUsageResourcePlanIteminstance. 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 type-safe, fluent-api builder object to construct a newBckndUsageResourcePlanIteminstance with all required arguments.
-
toMap()instead.