@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 T2 or T3 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 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.
|
CreditSpecificationRequest |
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 CreditSpecificationRequest 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 CreditSpecificationRequest clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.