AvailableServiceSkuCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. AvailableServiceSkuCapacity
- com.
Implements
public final class AvailableServiceSkuCapacity
implements JsonSerializable<AvailableServiceSkuCapacity>
A description of the scaling capacities of the SKU.
Constructor Summary
| Constructor | Description |
|---|---|
| AvailableServiceSkuCapacity() |
Creates an instance of Available |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
defaultProperty()
Get the default |
|
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
| Integer |
maximum()
Get the maximum property: The maximum capacity. |
| Integer |
minimum()
Get the minimum property: The minimum capacity, usually 0 or 1. |
|
Service |
scaleType()
Get the scale |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Available |
withDefaultProperty(Integer defaultProperty)
Set the default |
|
Available |
withMaximum(Integer maximum)
Set the maximum property: The maximum capacity. |
|
Available |
withMinimum(Integer minimum)
Set the minimum property: The minimum capacity, usually 0 or 1. |
|
Available |
withScaleType(ServiceScalability scaleType)
Set the scale |
Methods inherited from java.lang.Object
Constructor Details
AvailableServiceSkuCapacity
public AvailableServiceSkuCapacity()
Creates an instance of AvailableServiceSkuCapacity class.
Method Details
defaultProperty
public Integer defaultProperty()
Get the defaultProperty property: The default capacity.
Returns:
fromJson
public static AvailableServiceSkuCapacity fromJson(JsonReader jsonReader)
Reads an instance of AvailableServiceSkuCapacity from the JsonReader.
Parameters:
Returns:
Throws:
maximum
public Integer maximum()
Get the maximum property: The maximum capacity.
Returns:
minimum
public Integer minimum()
Get the minimum property: The minimum capacity, usually 0 or 1.
Returns:
scaleType
public ServiceScalability scaleType()
Get the scaleType property: The scalability approach.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDefaultProperty
public AvailableServiceSkuCapacity withDefaultProperty(Integer defaultProperty)
Set the defaultProperty property: The default capacity.
Parameters:
Returns:
withMaximum
public AvailableServiceSkuCapacity withMaximum(Integer maximum)
Set the maximum property: The maximum capacity.
Parameters:
Returns:
withMinimum
public AvailableServiceSkuCapacity withMinimum(Integer minimum)
Set the minimum property: The minimum capacity, usually 0 or 1.
Parameters:
Returns:
withScaleType
public AvailableServiceSkuCapacity withScaleType(ServiceScalability scaleType)
Set the scaleType property: The scalability approach.
Parameters:
Returns: