@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreditSpecificationRequest extends Object implements Serializable, Cloneable
The credit option for CPU usage of a T instance.
Constructor and Description |
---|
CreditSpecificationRequest() |
Modifier and Type | Method and Description |
---|---|
CreditSpecificationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCpuCredits()
The credit option for CPU usage of a T instance.
|
int |
hashCode() |
void |
setCpuCredits(String cpuCredits)
The credit option for CPU usage of a T instance.
|
String |
toString()
Returns a string representation of this object.
|
CreditSpecificationRequest |
withCpuCredits(String cpuCredits)
The credit option for CPU usage of a T instance.
|
public void setCpuCredits(String cpuCredits)
The credit option for CPU usage of a T instance.
Valid values: standard
| unlimited
cpuCredits
- The credit option for CPU usage of a T instance.
Valid values: standard
| unlimited
public String getCpuCredits()
The credit option for CPU usage of a T instance.
Valid values: standard
| unlimited
Valid values: standard
| unlimited
public CreditSpecificationRequest withCpuCredits(String cpuCredits)
The credit option for CPU usage of a T instance.
Valid values: standard
| unlimited
cpuCredits
- The credit option for CPU usage of a T instance.
Valid values: standard
| unlimited
public String toString()
toString
in class Object
Object.toString()
public CreditSpecificationRequest clone()