@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreditSpecification extends Object implements Serializable, Cloneable
Describes the credit option for CPU usage of a T instance.
Constructor and Description |
---|
CreditSpecification() |
Modifier and Type | Method and Description |
---|---|
CreditSpecification |
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.
|
CreditSpecification |
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 CreditSpecification 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 CreditSpecification clone()