AutoScaleSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.AutoScaleSettings

public class AutoScaleSettings

AutoScale settings for the pool.

Constructor Summary

Constructor Description
AutoScaleSettings()

Method Summary

Modifier and Type Method and Description
org.joda.time.Period evaluationInterval()

Get if omitted, the default value is 15 minutes (PT15M).

java.lang.String formula()

Get the formula value.

AutoScaleSettings withEvaluationInterval(Period evaluationInterval)

Set if omitted, the default value is 15 minutes (PT15M).

AutoScaleSettings withFormula(String formula)

Set the formula value.

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

AutoScaleSettings

public AutoScaleSettings()

Method Details

evaluationInterval

public Period evaluationInterval()

Get if omitted, the default value is 15 minutes (PT15M).

Returns:

the evaluationInterval value

formula

public String formula()

Get the formula value.

Returns:

the formula value

withEvaluationInterval

public AutoScaleSettings withEvaluationInterval(Period evaluationInterval)

Set if omitted, the default value is 15 minutes (PT15M).

Parameters:

evaluationInterval - the evaluationInterval value to set

Returns:

the AutoScaleSettings object itself.

withFormula

public AutoScaleSettings withFormula(String formula)

Set the formula value.

Parameters:

formula - the formula value to set

Returns:

the AutoScaleSettings object itself.

Applies to