Class AvailableServiceSkuCapacity
java.lang.Object
com.azure.resourcemanager.datamigration.models.AvailableServiceSkuCapacity
A description of the scaling capacities of the SKU.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AvailableServiceSkuCapacity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultProperty property: The default capacity.maximum()Get the maximum property: The maximum capacity.minimum()Get the minimum property: The minimum capacity, usually 0 or 1.Get the scaleType property: The scalability approach.voidvalidate()Validates the instance.withDefaultProperty(Integer defaultProperty) Set the defaultProperty property: The default capacity.withMaximum(Integer maximum) Set the maximum property: The maximum capacity.withMinimum(Integer minimum) Set the minimum property: The minimum capacity, usually 0 or 1.withScaleType(ServiceScalability scaleType) Set the scaleType property: The scalability approach.
-
Constructor Details
-
AvailableServiceSkuCapacity
public AvailableServiceSkuCapacity()Creates an instance of AvailableServiceSkuCapacity class.
-
-
Method Details
-
minimum
Get the minimum property: The minimum capacity, usually 0 or 1.- Returns:
- the minimum value.
-
withMinimum
Set the minimum property: The minimum capacity, usually 0 or 1.- Parameters:
minimum- the minimum value to set.- Returns:
- the AvailableServiceSkuCapacity object itself.
-
maximum
Get the maximum property: The maximum capacity.- Returns:
- the maximum value.
-
withMaximum
Set the maximum property: The maximum capacity.- Parameters:
maximum- the maximum value to set.- Returns:
- the AvailableServiceSkuCapacity object itself.
-
defaultProperty
Get the defaultProperty property: The default capacity.- Returns:
- the defaultProperty value.
-
withDefaultProperty
Set the defaultProperty property: The default capacity.- Parameters:
defaultProperty- the defaultProperty value to set.- Returns:
- the AvailableServiceSkuCapacity object itself.
-
scaleType
Get the scaleType property: The scalability approach.- Returns:
- the scaleType value.
-
withScaleType
Set the scaleType property: The scalability approach.- Parameters:
scaleType- the scaleType value to set.- Returns:
- the AvailableServiceSkuCapacity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-