Class AzureCapacity
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.AzureCapacity
-
public final class AzureCapacity extends Object
Azure capacity definition.
-
-
Constructor Summary
Constructors Constructor Description AzureCapacity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
defaultProperty()
Get the defaultProperty property: The default capacity that would be used.int
maximum()
Get the maximum property: Maximum allowed capacity.int
minimum()
Get the minimum property: Minimum allowed capacity.AzureScaleType
scaleType()
Get the scaleType property: Scale type.void
validate()
Validates the instance.AzureCapacity
withDefaultProperty(int defaultProperty)
Set the defaultProperty property: The default capacity that would be used.AzureCapacity
withMaximum(int maximum)
Set the maximum property: Maximum allowed capacity.AzureCapacity
withMinimum(int minimum)
Set the minimum property: Minimum allowed capacity.AzureCapacity
withScaleType(AzureScaleType scaleType)
Set the scaleType property: Scale type.
-
-
-
Method Detail
-
scaleType
public AzureScaleType scaleType()
Get the scaleType property: Scale type.- Returns:
- the scaleType value.
-
withScaleType
public AzureCapacity withScaleType(AzureScaleType scaleType)
Set the scaleType property: Scale type.- Parameters:
scaleType
- the scaleType value to set.- Returns:
- the AzureCapacity object itself.
-
minimum
public int minimum()
Get the minimum property: Minimum allowed capacity.- Returns:
- the minimum value.
-
withMinimum
public AzureCapacity withMinimum(int minimum)
Set the minimum property: Minimum allowed capacity.- Parameters:
minimum
- the minimum value to set.- Returns:
- the AzureCapacity object itself.
-
maximum
public int maximum()
Get the maximum property: Maximum allowed capacity.- Returns:
- the maximum value.
-
withMaximum
public AzureCapacity withMaximum(int maximum)
Set the maximum property: Maximum allowed capacity.- Parameters:
maximum
- the maximum value to set.- Returns:
- the AzureCapacity object itself.
-
defaultProperty
public int defaultProperty()
Get the defaultProperty property: The default capacity that would be used.- Returns:
- the defaultProperty value.
-
withDefaultProperty
public AzureCapacity withDefaultProperty(int defaultProperty)
Set the defaultProperty property: The default capacity that would be used.- Parameters:
defaultProperty
- the defaultProperty value to set.- Returns:
- the AzureCapacity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-