@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteQueuedReservedInstancesError extends Object implements Serializable, Cloneable
Describes the error for a Reserved Instance whose queued purchase could not be deleted.
Constructor and Description |
---|
DeleteQueuedReservedInstancesError() |
Modifier and Type | Method and Description |
---|---|
DeleteQueuedReservedInstancesError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
DeleteQueuedReservedInstancesError |
withCode(DeleteQueuedReservedInstancesErrorCode code)
The error code.
|
DeleteQueuedReservedInstancesError |
withCode(String code)
The error code.
|
DeleteQueuedReservedInstancesError |
withMessage(String message)
The error message.
|
public void setCode(String code)
The error code.
code
- The error code.DeleteQueuedReservedInstancesErrorCode
public String getCode()
The error code.
DeleteQueuedReservedInstancesErrorCode
public DeleteQueuedReservedInstancesError withCode(String code)
The error code.
code
- The error code.DeleteQueuedReservedInstancesErrorCode
public DeleteQueuedReservedInstancesError withCode(DeleteQueuedReservedInstancesErrorCode code)
The error code.
code
- The error code.DeleteQueuedReservedInstancesErrorCode
public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public DeleteQueuedReservedInstancesError withMessage(String message)
The error message.
message
- The error message.public String toString()
toString
in class Object
Object.toString()
public DeleteQueuedReservedInstancesError clone()