Class AutoScaleRun
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.AutoScaleRun
-
public class AutoScaleRun extends Object
The results and errors from an execution of a Pool autoscale formula.
-
-
Constructor Summary
Constructors Constructor Description AutoScaleRun()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.org.joda.time.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(org.joda.time.DateTime timestamp)
Set the timestamp value.
-
-
-
Method Detail
-
timestamp
public org.joda.time.DateTime timestamp()
Get the timestamp value.- Returns:
- the timestamp value
-
withTimestamp
public AutoScaleRun withTimestamp(org.joda.time.DateTime timestamp)
Set the timestamp value.- Parameters:
timestamp
- the timestamp value to set- Returns:
- the AutoScaleRun object itself.
-
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
-
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.
-
error
public AutoScaleRunError error()
Get the error value.- Returns:
- the error value
-
withError
public AutoScaleRun withError(AutoScaleRunError error)
Set the error value.- Parameters:
error
- the error value to set- Returns:
- the AutoScaleRun object itself.
-
-