@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDefaultCreditSpecificationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyDefaultCreditSpecificationRequest>
NOOP
Constructor and Description |
---|
ModifyDefaultCreditSpecificationRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyDefaultCreditSpecificationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCpuCredits()
The credit option for CPU usage of the instance family.
|
Request<ModifyDefaultCreditSpecificationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceFamily()
The instance family.
|
int |
hashCode() |
void |
setCpuCredits(String cpuCredits)
The 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.
|
ModifyDefaultCreditSpecificationRequest |
withCpuCredits(String cpuCredits)
The credit option for CPU usage of the instance family.
|
ModifyDefaultCreditSpecificationRequest |
withInstanceFamily(String instanceFamily)
The instance family.
|
ModifyDefaultCreditSpecificationRequest |
withInstanceFamily(UnlimitedSupportedInstanceFamily instanceFamily)
The instance family.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ModifyDefaultCreditSpecificationRequest()
public void setInstanceFamily(String instanceFamily)
The instance family.
instanceFamily
- The instance family.UnlimitedSupportedInstanceFamily
public String getInstanceFamily()
The instance family.
UnlimitedSupportedInstanceFamily
public ModifyDefaultCreditSpecificationRequest withInstanceFamily(String instanceFamily)
The instance family.
instanceFamily
- The instance family.UnlimitedSupportedInstanceFamily
public ModifyDefaultCreditSpecificationRequest withInstanceFamily(UnlimitedSupportedInstanceFamily instanceFamily)
The instance family.
instanceFamily
- The instance family.UnlimitedSupportedInstanceFamily
public void setCpuCredits(String cpuCredits)
The credit option for CPU usage of the instance family.
Valid Values: standard
| unlimited
cpuCredits
- The credit option for CPU usage of the instance family.
Valid Values: standard
| unlimited
public String getCpuCredits()
The credit option for CPU usage of the instance family.
Valid Values: standard
| unlimited
Valid Values: standard
| unlimited
public ModifyDefaultCreditSpecificationRequest withCpuCredits(String cpuCredits)
The credit option for CPU usage of the instance family.
Valid Values: standard
| unlimited
cpuCredits
- The credit option for CPU usage of the instance family.
Valid Values: standard
| unlimited
public Request<ModifyDefaultCreditSpecificationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyDefaultCreditSpecificationRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyDefaultCreditSpecificationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()