@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceCreditSpecificationRequest extends Object implements Serializable, Cloneable
Describes the credit option for CPU usage of a burstable performance instance.
| Constructor and Description |
|---|
InstanceCreditSpecificationRequest() |
| Modifier and Type | Method and Description |
|---|---|
InstanceCreditSpecificationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCpuCredits()
The credit option for CPU usage of the instance.
|
String |
getInstanceId()
The ID of the instance.
|
int |
hashCode() |
void |
setCpuCredits(String cpuCredits)
The credit option for CPU usage of the instance.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
String |
toString()
Returns a string representation of this object.
|
InstanceCreditSpecificationRequest |
withCpuCredits(String cpuCredits)
The credit option for CPU usage of the instance.
|
InstanceCreditSpecificationRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
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 InstanceCreditSpecificationRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.public void setCpuCredits(String cpuCredits)
The credit option for CPU usage of the instance.
Valid values: standard | unlimited
T3 instances with host tenancy do not support the unlimited CPU credit option.
cpuCredits - The credit option for CPU usage of the instance.
Valid values: standard | unlimited
T3 instances with host tenancy do not support the unlimited CPU credit option.
public String getCpuCredits()
The credit option for CPU usage of the instance.
Valid values: standard | unlimited
T3 instances with host tenancy do not support the unlimited CPU credit option.
Valid values: standard | unlimited
T3 instances with host tenancy do not support the unlimited CPU credit option.
public InstanceCreditSpecificationRequest withCpuCredits(String cpuCredits)
The credit option for CPU usage of the instance.
Valid values: standard | unlimited
T3 instances with host tenancy do not support the unlimited CPU credit option.
cpuCredits - The credit option for CPU usage of the instance.
Valid values: standard | unlimited
T3 instances with host tenancy do not support the unlimited CPU credit option.
public String toString()
toString in class ObjectObject.toString()public InstanceCreditSpecificationRequest clone()