AutoscaleCapacity Class
- java.
lang. Object - com.
microsoft. azure. management. hdinsight. v2018_06_01_preview. AutoscaleCapacity
- com.
public class AutoscaleCapacity
The load-based autoscale request parameters.
Constructor Summary
Constructor | Description | |
---|---|---|
AutoscaleCapacity() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
maxInstanceCount()
Get the maximum instance count of the cluster. |
java.lang.Integer |
minInstanceCount()
Get the minimum instance count of the cluster. |
Autoscale |
withMaxInstanceCount(Integer maxInstanceCount)
Set the maximum instance count of the cluster. |
Autoscale |
withMinInstanceCount(Integer minInstanceCount)
Set the minimum instance count of the cluster. |
Methods inherited from java.lang.Object
Constructor Details
AutoscaleCapacity
public AutoscaleCapacity()
Method Details
maxInstanceCount
public Integer maxInstanceCount()
Get the maximum instance count of the cluster.
Returns:
minInstanceCount
public Integer minInstanceCount()
Get the minimum instance count of the cluster.
Returns:
withMaxInstanceCount
public AutoscaleCapacity withMaxInstanceCount(Integer maxInstanceCount)
Set the maximum instance count of the cluster.
Parameters:
Returns:
withMinInstanceCount
public AutoscaleCapacity withMinInstanceCount(Integer minInstanceCount)
Set the minimum instance count of the cluster.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for