ResizeError Class
- java.
lang. Object - com.
microsoft. azure. management. batch. ResizeError
- com.
public class ResizeError
An error that occurred when resizing 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<Resize |
details()
Get the details value. |
String |
message()
Get a message describing the error, intended to be suitable for display in a user interface. |
Resize |
withCode(String code)
Set an identifier for the error. Codes are invariant and are intended to be consumed programmatically. |
Resize |
withDetails(List<ResizeError> details)
Set the details value. |
Resize |
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 ResizeError withCode(String code)
Set an identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Parameters:
Returns:
withDetails
public ResizeError withDetails(List
Set the details value.
Parameters:
Returns:
withMessage
public ResizeError 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