Package com.sap.ai.sdk.core.model
Class BckndDeploymentQuota
java.lang.Object
com.sap.ai.sdk.core.model.BckndDeploymentQuota
BckndDeploymentQuota
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndDeploymentQuota. -
Method Summary
Modifier and TypeMethodDescriptionstatic BckndDeploymentQuotacreate()Create a newBckndDeploymentQuotainstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndDeploymentQuota.The value can be 0(disabled) or a positive integer defining the maximum allowed numberGet maxReplicaPerDeploymentinthashCode()Set the maxCount of thisBckndDeploymentQuotainstance and return the same instance.maxReplicaPerDeployment(Integer maxReplicaPerDeployment) Set the maxReplicaPerDeployment of thisBckndDeploymentQuotainstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndDeploymentQuotainstance.voidsetMaxCount(Integer maxCount) Set the maxCount of thisBckndDeploymentQuotainstance.voidsetMaxReplicaPerDeployment(Integer maxReplicaPerDeployment) Set the maxReplicaPerDeployment of thisBckndDeploymentQuotainstance.toMap()Get the value of all properties of thisBckndDeploymentQuotainstance including unrecognized properties.toString()
-
Constructor Details
-
BckndDeploymentQuota
protected BckndDeploymentQuota()Default constructor for BckndDeploymentQuota.
-
-
Method Details
-
maxCount
Set the maxCount of thisBckndDeploymentQuotainstance and return the same instance.- Parameters:
maxCount- The value can be 0(disabled) or a positive integer defining the maximum allowed number- Returns:
- The same instance of this
BckndDeploymentQuotaclass
-
getMaxCount
The value can be 0(disabled) or a positive integer defining the maximum allowed number- Returns:
- maxCount The maxCount of this
BckndDeploymentQuotainstance.
-
setMaxCount
Set the maxCount of thisBckndDeploymentQuotainstance.- Parameters:
maxCount- The value can be 0(disabled) or a positive integer defining the maximum allowed number
-
maxReplicaPerDeployment
@Nonnull public BckndDeploymentQuota maxReplicaPerDeployment(@Nullable Integer maxReplicaPerDeployment) Set the maxReplicaPerDeployment of thisBckndDeploymentQuotainstance and return the same instance.- Parameters:
maxReplicaPerDeployment- The maxReplicaPerDeployment of thisBckndDeploymentQuota- Returns:
- The same instance of this
BckndDeploymentQuotaclass
-
getMaxReplicaPerDeployment
Get maxReplicaPerDeployment- Returns:
- maxReplicaPerDeployment The maxReplicaPerDeployment of this
BckndDeploymentQuotainstance.
-
setMaxReplicaPerDeployment
Set the maxReplicaPerDeployment of thisBckndDeploymentQuotainstance.- Parameters:
maxReplicaPerDeployment- The maxReplicaPerDeployment of thisBckndDeploymentQuota
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndDeploymentQuota.- 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 thisBckndDeploymentQuotainstance.- 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 thisBckndDeploymentQuotainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndDeploymentQuotainstance. 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 newBckndDeploymentQuotainstance. No arguments are required.
-
toMap()instead.