AutoScaleRun Class

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

public class AutoScaleRun

The results and errors from an execution of a pool autoscale formula.

Constructor Summary

Constructor Description
AutoScaleRun()

Method Summary

Modifier and Type Method and Description
AutoScaleRunError error()

Get the error value.

org.joda.time.DateTime evaluationTime()

Get the evaluationTime value.

java.lang.String results()

Get each variable value is returned in the form $variable=value, and variables are separated by semicolons.

AutoScaleRun withError(AutoScaleRunError error)

Set the error value.

AutoScaleRun withEvaluationTime(DateTime evaluationTime)

Set the evaluationTime value.

AutoScaleRun withResults(String results)

Set each variable value is returned in the form $variable=value, and variables are separated by semicolons.

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

AutoScaleRun

public AutoScaleRun()

Method Details

error

public AutoScaleRunError error()

Get the error value.

Returns:

the error value

evaluationTime

public DateTime evaluationTime()

Get the evaluationTime value.

Returns:

the evaluationTime value

results

public String results()

Get each variable value is returned in the form $variable=value, and variables are separated by semicolons.

Returns:

the results value

withError

public AutoScaleRun withError(AutoScaleRunError error)

Set the error value.

Parameters:

error - the error value to set

Returns:

the AutoScaleRun object itself.

withEvaluationTime

public AutoScaleRun withEvaluationTime(DateTime evaluationTime)

Set the evaluationTime value.

Parameters:

evaluationTime - the evaluationTime value to set

Returns:

the AutoScaleRun object itself.

withResults

public AutoScaleRun withResults(String results)

Set each variable value is returned in the form $variable=value, and variables are separated by semicolons.

Parameters:

results - the results value to set

Returns:

the AutoScaleRun object itself.

Applies to