@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsuccessfulInstanceCreditSpecificationItem extends Object implements Serializable, Cloneable
Describes the burstable performance instance whose credit option for CPU usage was not modified.
Constructor and Description |
---|
UnsuccessfulInstanceCreditSpecificationItem() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulInstanceCreditSpecificationItem |
clone() |
boolean |
equals(Object obj) |
UnsuccessfulInstanceCreditSpecificationItemError |
getError()
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
|
String |
getInstanceId()
The ID of the instance.
|
int |
hashCode() |
void |
setError(UnsuccessfulInstanceCreditSpecificationItemError error)
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
String |
toString()
Returns a string representation of this object.
|
UnsuccessfulInstanceCreditSpecificationItem |
withError(UnsuccessfulInstanceCreditSpecificationItemError error)
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
|
UnsuccessfulInstanceCreditSpecificationItem |
withInstanceId(String instanceId)
The ID of the instance.
|
public UnsuccessfulInstanceCreditSpecificationItem()
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public UnsuccessfulInstanceCreditSpecificationItem withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setError(UnsuccessfulInstanceCreditSpecificationItemError error)
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
error
- The applicable error for the burstable performance instance whose credit option for CPU usage was not
modified.public UnsuccessfulInstanceCreditSpecificationItemError getError()
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
public UnsuccessfulInstanceCreditSpecificationItem withError(UnsuccessfulInstanceCreditSpecificationItemError error)
The applicable error for the burstable performance instance whose credit option for CPU usage was not modified.
error
- The applicable error for the burstable performance instance whose credit option for CPU usage was not
modified.public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulInstanceCreditSpecificationItem clone()