@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceFamilyCreditSpecification extends Object implements Serializable, Cloneable
Describes the default credit option for CPU usage of a burstable performance instance family.
| Constructor and Description |
|---|
InstanceFamilyCreditSpecification() |
| Modifier and Type | Method and Description |
|---|---|
InstanceFamilyCreditSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getCpuCredits()
The default credit option for CPU usage of the instance family.
|
String |
getInstanceFamily()
The instance family.
|
int |
hashCode() |
void |
setCpuCredits(String cpuCredits)
The default credit option for CPU usage of the instance family.
|
void |
setInstanceFamily(String instanceFamily)
The instance family.
|
String |
toString()
Returns a string representation of this object.
|
InstanceFamilyCreditSpecification |
withCpuCredits(String cpuCredits)
The default credit option for CPU usage of the instance family.
|
InstanceFamilyCreditSpecification |
withInstanceFamily(String instanceFamily)
The instance family.
|
InstanceFamilyCreditSpecification |
withInstanceFamily(UnlimitedSupportedInstanceFamily instanceFamily)
The instance family.
|
public void setInstanceFamily(String instanceFamily)
The instance family.
instanceFamily - The instance family.UnlimitedSupportedInstanceFamilypublic String getInstanceFamily()
The instance family.
UnlimitedSupportedInstanceFamilypublic InstanceFamilyCreditSpecification withInstanceFamily(String instanceFamily)
The instance family.
instanceFamily - The instance family.UnlimitedSupportedInstanceFamilypublic InstanceFamilyCreditSpecification withInstanceFamily(UnlimitedSupportedInstanceFamily instanceFamily)
The instance family.
instanceFamily - The instance family.UnlimitedSupportedInstanceFamilypublic void setCpuCredits(String cpuCredits)
The default credit option for CPU usage of the instance family. Valid values are standard and
unlimited.
cpuCredits - The default credit option for CPU usage of the instance family. Valid values are standard and
unlimited.public String getCpuCredits()
The default credit option for CPU usage of the instance family. Valid values are standard and
unlimited.
standard
and unlimited.public InstanceFamilyCreditSpecification withCpuCredits(String cpuCredits)
The default credit option for CPU usage of the instance family. Valid values are standard and
unlimited.
cpuCredits - The default credit option for CPU usage of the instance family. Valid values are standard and
unlimited.public String toString()
toString in class ObjectObject.toString()public InstanceFamilyCreditSpecification clone()