SkuCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. SkuCapacity
- com.
Implements
public final class SkuCapacity
implements JsonSerializable<SkuCapacity>
The SKU capacity.
Constructor Summary
Constructor | Description |
---|---|
SkuCapacity() |
Creates an instance of Sku |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
defaultProperty()
Get the default |
static
Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku |
Integer |
maximum()
Get the maximum property: Gets or sets the maximum. |
int |
minimum()
Get the minimum property: Gets or sets the minimum. |
Sku |
scaleType()
Get the scale |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sku |
withDefaultProperty(Integer defaultProperty)
Set the default |
Sku |
withMaximum(Integer maximum)
Set the maximum property: Gets or sets the maximum. |
Sku |
withMinimum(int minimum)
Set the minimum property: Gets or sets the minimum. |
Sku |
withScaleType(SkuScaleType scaleType)
Set the scale |
Methods inherited from java.lang.Object
Constructor Details
SkuCapacity
public SkuCapacity()
Creates an instance of SkuCapacity class.
Method Details
defaultProperty
public Integer defaultProperty()
Get the defaultProperty property: Gets or sets the default.
Returns:
fromJson
public static SkuCapacity fromJson(JsonReader jsonReader)
Reads an instance of SkuCapacity from the JsonReader.
Parameters:
Returns:
Throws:
maximum
public Integer maximum()
Get the maximum property: Gets or sets the maximum.
Returns:
minimum
public int minimum()
Get the minimum property: Gets or sets the minimum.
Returns:
scaleType
public SkuScaleType scaleType()
Get the scaleType property: Gets or sets the type of the scale.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDefaultProperty
public SkuCapacity withDefaultProperty(Integer defaultProperty)
Set the defaultProperty property: Gets or sets the default.
Parameters:
Returns:
withMaximum
public SkuCapacity withMaximum(Integer maximum)
Set the maximum property: Gets or sets the maximum.
Parameters:
Returns:
withMinimum
public SkuCapacity withMinimum(int minimum)
Set the minimum property: Gets or sets the minimum.
Parameters:
Returns:
withScaleType
public SkuCapacity withScaleType(SkuScaleType scaleType)
Set the scaleType property: Gets or sets the type of the scale.
Parameters:
Returns:
Applies to
Azure SDK for Java