AutoScaleRunError Class
- java.
lang. Object - com.
microsoft. azure. management. batch. AutoScaleRunError
- com.
public class AutoScaleRunError
An error that occurred when autoscaling a pool.
Constructor Summary
Constructor | Description | |
---|---|---|
AutoScaleRunError() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
code()
Get an identifier for the error. |
java.util.List<Auto |
details()
Get the details value. |
java.lang.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. |
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. |
Methods inherited from java.lang.Object
Constructor Details
AutoScaleRunError
public AutoScaleRunError()
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:
Applies to
Azure SDK for Java