AutoscaleCapacity Class

  • java.lang.Object
    • com.microsoft.azure.management.hdinsight.v2018_06_01_preview.AutoscaleCapacity

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.

AutoscaleCapacity withMaxInstanceCount(Integer maxInstanceCount)

Set the maximum instance count of the cluster.

AutoscaleCapacity withMinInstanceCount(Integer minInstanceCount)

Set the minimum instance count of the cluster.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AutoscaleCapacity

public AutoscaleCapacity()

Method Details

maxInstanceCount

public Integer maxInstanceCount()

Get the maximum instance count of the cluster.

Returns:

the maxInstanceCount value

minInstanceCount

public Integer minInstanceCount()

Get the minimum instance count of the cluster.

Returns:

the minInstanceCount value

withMaxInstanceCount

public AutoscaleCapacity withMaxInstanceCount(Integer maxInstanceCount)

Set the maximum instance count of the cluster.

Parameters:

maxInstanceCount - the maxInstanceCount value to set

Returns:

the AutoscaleCapacity object itself.

withMinInstanceCount

public AutoscaleCapacity withMinInstanceCount(Integer minInstanceCount)

Set the minimum instance count of the cluster.

Parameters:

minInstanceCount - the minInstanceCount value to set

Returns:

the AutoscaleCapacity object itself.

Applies to