AutoScaleRun Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.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.

String results()

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

DateTime timestamp()

Get the timestamp value.

AutoScaleRun withError(AutoScaleRunError error)

Set the error value.

AutoScaleRun withResults(String results)

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

AutoScaleRun withTimestamp(DateTime timestamp)

Set the timestamp value.

Method Details

error

public AutoScaleRunError error()

Get the error value.

Returns:

the error 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

timestamp

public DateTime timestamp()

Get the timestamp value.

Returns:

the timestamp value

withError

public AutoScaleRun withError(AutoScaleRunError error)

Set the error value.

Parameters:

error - the error 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.

withTimestamp

public AutoScaleRun withTimestamp(DateTime timestamp)

Set the timestamp value.

Parameters:

timestamp - the timestamp value to set

Returns:

the AutoScaleRun object itself.

Applies to