@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsuccessfulInstanceCreditSpecificationItemError extends Object implements Serializable, Cloneable
Information about the error for the burstable performance instance whose credit option for CPU usage was not modified.
Constructor and Description |
---|
UnsuccessfulInstanceCreditSpecificationItemError() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulInstanceCreditSpecificationItemError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The applicable error message.
|
int |
hashCode() |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The applicable error message.
|
String |
toString()
Returns a string representation of this object.
|
UnsuccessfulInstanceCreditSpecificationItemError |
withCode(String code)
The error code.
|
UnsuccessfulInstanceCreditSpecificationItemError |
withCode(UnsuccessfulInstanceCreditSpecificationErrorCode code)
The error code.
|
UnsuccessfulInstanceCreditSpecificationItemError |
withMessage(String message)
The applicable error message.
|
public UnsuccessfulInstanceCreditSpecificationItemError()
public void setCode(String code)
The error code.
code
- The error code.UnsuccessfulInstanceCreditSpecificationErrorCode
public String getCode()
The error code.
UnsuccessfulInstanceCreditSpecificationErrorCode
public UnsuccessfulInstanceCreditSpecificationItemError withCode(String code)
The error code.
code
- The error code.UnsuccessfulInstanceCreditSpecificationErrorCode
public UnsuccessfulInstanceCreditSpecificationItemError withCode(UnsuccessfulInstanceCreditSpecificationErrorCode code)
The error code.
code
- The error code.UnsuccessfulInstanceCreditSpecificationErrorCode
public void setMessage(String message)
The applicable error message.
message
- The applicable error message.public String getMessage()
The applicable error message.
public UnsuccessfulInstanceCreditSpecificationItemError withMessage(String message)
The applicable error message.
message
- The applicable error message.public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulInstanceCreditSpecificationItemError clone()