Class AutoScaleRunError
java.lang.Object
com.microsoft.azure.management.batch.AutoScaleRunError
An error that occurred when autoscaling a pool.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get an identifier for the error.details()
Get the details value.message()
Get a message describing the error, intended to be suitable for display in a user interface.Set an identifier for the error.withDetails
(List<AutoScaleRunError> details) Set the details value.withMessage
(String message) Set a message describing the error, intended to be suitable for display in a user interface.
-
Constructor Details
-
AutoScaleRunError
public AutoScaleRunError()
-
-
Method Details
-
code
Get an identifier for the error. Codes are invariant and are intended to be consumed programmatically.- Returns:
- the code value
-
withCode
Set an identifier for the error. Codes are invariant and are intended to be consumed programmatically.- Parameters:
code
- the code value to set- Returns:
- the AutoScaleRunError object itself.
-
message
Get a message describing the error, intended to be suitable for display in a user interface.- Returns:
- the message value
-
withMessage
Set a message describing the error, intended to be suitable for display in a user interface.- Parameters:
message
- the message value to set- Returns:
- the AutoScaleRunError object itself.
-
details
Get the details value.- Returns:
- the details value
-
withDetails
Set the details value.- Parameters:
details
- the details value to set- Returns:
- the AutoScaleRunError object itself.
-