@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 T2 or T3 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 T2 or T3 instance.
|
int |
hashCode() |
void |
setCpuCredits(String cpuCredits)
The credit option for CPU usage of a T2 or T3 instance.
|
String |
toString()
Returns a string representation of this object.
|
CreditSpecification |
withCpuCredits(String cpuCredits)
The credit option for CPU usage of a T2 or T3 instance.
|
public void setCpuCredits(String cpuCredits)
The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and
unlimited.
cpuCredits - The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and
unlimited.public String getCpuCredits()
The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and
unlimited.
standard and
unlimited.public CreditSpecification withCpuCredits(String cpuCredits)
The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and
unlimited.
cpuCredits - The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and
unlimited.public String toString()
toString in class ObjectObject.toString()public CreditSpecification clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.