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