Package com.sap.ai.sdk.core.model
Class BckndDeploymentUsage
java.lang.Object
com.sap.ai.sdk.core.model.BckndDeploymentUsage
BckndDeploymentUsage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndDeploymentUsage. -
Method Summary
Modifier and TypeMethodDescriptionaddItemsItem(BckndUsageResourcePlanItem itemsItem) Add one items instance to thisBckndDeploymentUsage.Set the count of thisBckndDeploymentUsageinstance and return the same instance.static BckndDeploymentUsage.Buildercreate()Create a type-safe, fluent-api builder object to construct a newBckndDeploymentUsageinstance with all required arguments.booleangetCount()Get countgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndDeploymentUsage.getItems()Get itemsinthashCode()items(List<BckndUsageResourcePlanItem> items) Set the items of thisBckndDeploymentUsageinstance and return the same instance.voidSet the count of thisBckndDeploymentUsageinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndDeploymentUsageinstance.voidsetItems(List<BckndUsageResourcePlanItem> items) Set the items of thisBckndDeploymentUsageinstance.toMap()Get the value of all properties of thisBckndDeploymentUsageinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndDeploymentUsage
protected BckndDeploymentUsage()Default constructor for BckndDeploymentUsage.
-
-
Method Details
-
count
Set the count of thisBckndDeploymentUsageinstance and return the same instance.- Parameters:
count- The count of thisBckndDeploymentUsage- Returns:
- The same instance of this
BckndDeploymentUsageclass
-
getCount
Get count- Returns:
- count The count of this
BckndDeploymentUsageinstance.
-
setCount
Set the count of thisBckndDeploymentUsageinstance.- Parameters:
count- The count of thisBckndDeploymentUsage
-
items
Set the items of thisBckndDeploymentUsageinstance and return the same instance.- Parameters:
items- The items of thisBckndDeploymentUsage- Returns:
- The same instance of this
BckndDeploymentUsageclass
-
addItemsItem
Add one items instance to thisBckndDeploymentUsage.- Parameters:
itemsItem- The items that should be added- Returns:
- The same instance of type
BckndDeploymentUsage
-
getItems
Get items- Returns:
- items The items of this
BckndDeploymentUsageinstance.
-
setItems
Set the items of thisBckndDeploymentUsageinstance.- Parameters:
items- The items of thisBckndDeploymentUsage
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndDeploymentUsage.- 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 thisBckndDeploymentUsageinstance.- 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 thisBckndDeploymentUsageinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndDeploymentUsageinstance. 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 newBckndDeploymentUsageinstance with all required arguments.
-
toMap()instead.