AutoScaleRun Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. AutoScaleRun
- com.
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 |
---|---|
Auto |
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. |
Auto |
withError(AutoScaleRunError error)
Set the error value. |
Auto |
withResults(String results)
Set each variable value is returned in the form $variable=value, and variables are separated by semicolons. |
Auto |
withTimestamp(DateTime timestamp)
Set the timestamp value. |
Methods inherited from java.lang.Object
Constructor Details
AutoScaleRun
public AutoScaleRun()
Method Details
error
public AutoScaleRunError error()
Get the error value.
Returns:
results
public String results()
Get each variable value is returned in the form $variable=value, and variables are separated by semicolons.
Returns:
timestamp
public DateTime timestamp()
Get the timestamp value.
Returns:
withError
public AutoScaleRun withError(AutoScaleRunError error)
Set the error value.
Parameters:
Returns:
withResults
public AutoScaleRun withResults(String results)
Set each variable value is returned in the form $variable=value, and variables are separated by semicolons.
Parameters:
Returns:
withTimestamp
public AutoScaleRun withTimestamp(DateTime timestamp)
Set the timestamp value.
Parameters:
Returns:
Applies to
Azure SDK for Java