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.

Method Summary

Modifier and Type Method and Description
AutoScaleRunError error()

Get the error value.

DateTime evaluationTime()

Get the evaluationTime value.

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.

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