OptimizedAutoscale Class
- java.
lang. Object - com.
azure. resourcemanager. kusto. models. OptimizedAutoscale
- com.
public final class OptimizedAutoscale
A class that contains the optimized auto scale definition.
Constructor Summary
Constructor | Description |
---|---|
OptimizedAutoscale() |
Creates an instance of Optimized |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Get the is |
int |
maximum()
Get the maximum property: Maximum allowed instances count. |
int |
minimum()
Get the minimum property: Minimum allowed instances count. |
void |
validate()
Validates the instance. |
int |
version()
Get the version property: The version of the template defined, for instance 1. |
Optimized |
withIsEnabled(boolean isEnabled)
Set the is |
Optimized |
withMaximum(int maximum)
Set the maximum property: Maximum allowed instances count. |
Optimized |
withMinimum(int minimum)
Set the minimum property: Minimum allowed instances count. |
Optimized |
withVersion(int version)
Set the version property: The version of the template defined, for instance 1. |
Methods inherited from java.lang.Object
Constructor Details
OptimizedAutoscale
public OptimizedAutoscale()
Creates an instance of OptimizedAutoscale class.
Method Details
isEnabled
public boolean isEnabled()
Get the isEnabled property: A boolean value that indicate if the optimized autoscale feature is enabled or not.
Returns:
maximum
public int maximum()
Get the maximum property: Maximum allowed instances count.
Returns:
minimum
public int minimum()
Get the minimum property: Minimum allowed instances count.
Returns:
validate
public void validate()
Validates the instance.
version
public int version()
Get the version property: The version of the template defined, for instance 1.
Returns:
withIsEnabled
public OptimizedAutoscale withIsEnabled(boolean isEnabled)
Set the isEnabled property: A boolean value that indicate if the optimized autoscale feature is enabled or not.
Parameters:
Returns:
withMaximum
public OptimizedAutoscale withMaximum(int maximum)
Set the maximum property: Maximum allowed instances count.
Parameters:
Returns:
withMinimum
public OptimizedAutoscale withMinimum(int minimum)
Set the minimum property: Minimum allowed instances count.
Parameters:
Returns:
withVersion
public OptimizedAutoscale withVersion(int version)
Set the version property: The version of the template defined, for instance 1.
Parameters:
Returns:
Applies to
Azure SDK for Java