@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceCreditSpecificationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyInstanceCreditSpecificationRequest>
NOOP
Constructor and Description |
---|
ModifyInstanceCreditSpecificationRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyInstanceCreditSpecificationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive token that you provide to ensure idempotency of your modification request.
|
Request<ModifyInstanceCreditSpecificationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<InstanceCreditSpecificationRequest> |
getInstanceCreditSpecifications()
Information about the credit option for CPU usage.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure idempotency of your modification request.
|
void |
setInstanceCreditSpecifications(Collection<InstanceCreditSpecificationRequest> instanceCreditSpecifications)
Information about the credit option for CPU usage.
|
String |
toString()
Returns a string representation of this object.
|
ModifyInstanceCreditSpecificationRequest |
withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure idempotency of your modification request.
|
ModifyInstanceCreditSpecificationRequest |
withInstanceCreditSpecifications(Collection<InstanceCreditSpecificationRequest> instanceCreditSpecifications)
Information about the credit option for CPU usage.
|
ModifyInstanceCreditSpecificationRequest |
withInstanceCreditSpecifications(InstanceCreditSpecificationRequest... instanceCreditSpecifications)
Information about the credit option for CPU usage.
|
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 ModifyInstanceCreditSpecificationRequest()
public void setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For
more information, see Ensuring
Idempotency.public String getClientToken()
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
public ModifyInstanceCreditSpecificationRequest withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For
more information, see Ensuring
Idempotency.public List<InstanceCreditSpecificationRequest> getInstanceCreditSpecifications()
Information about the credit option for CPU usage.
public void setInstanceCreditSpecifications(Collection<InstanceCreditSpecificationRequest> instanceCreditSpecifications)
Information about the credit option for CPU usage.
instanceCreditSpecifications
- Information about the credit option for CPU usage.public ModifyInstanceCreditSpecificationRequest withInstanceCreditSpecifications(InstanceCreditSpecificationRequest... instanceCreditSpecifications)
Information about the credit option for CPU usage.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceCreditSpecifications(java.util.Collection)
or
withInstanceCreditSpecifications(java.util.Collection)
if you want to override the existing values.
instanceCreditSpecifications
- Information about the credit option for CPU usage.public ModifyInstanceCreditSpecificationRequest withInstanceCreditSpecifications(Collection<InstanceCreditSpecificationRequest> instanceCreditSpecifications)
Information about the credit option for CPU usage.
instanceCreditSpecifications
- Information about the credit option for CPU usage.public Request<ModifyInstanceCreditSpecificationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyInstanceCreditSpecificationRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceCreditSpecificationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()