Class AzureCapacity
java.lang.Object
com.azure.resourcemanager.kusto.models.AzureCapacity
Azure capacity definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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.Get the scaleType property: Scale type.void
validate()
Validates the instance.withDefaultProperty
(int defaultProperty) Set the defaultProperty property: The default capacity that would be used.withMaximum
(int maximum) Set the maximum property: Maximum allowed capacity.withMinimum
(int minimum) Set the minimum property: Minimum allowed capacity.withScaleType
(AzureScaleType scaleType) Set the scaleType property: Scale type.
-
Constructor Details
-
AzureCapacity
public AzureCapacity()
-
-
Method Details
-
scaleType
Get the scaleType property: Scale type.- Returns:
- the scaleType value.
-
withScaleType
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
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
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
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.
-