ResizeError Class
- java.
lang. Object - com.
microsoft. azure. management. batch. ResizeError
- com.
public class ResizeError
An error that occurred when resizing a pool.
Constructor Summary
Constructor | Description | |
---|---|---|
ResizeError() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
code()
Get an identifier for the error. |
java.util.List<Resize |
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. |
Resize |
withCode(String code)
Set an identifier for the error. |
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. |
Methods inherited from java.lang.Object
Constructor Details
ResizeError
public ResizeError()
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