@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyReservedInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyReservedInstancesRequest>
Contains the parameters for ModifyReservedInstances.
NOOP
Constructor and Description |
---|
ModifyReservedInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyReservedInstancesRequest |
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 you provide to ensure idempotency of your modification request.
|
Request<ModifyReservedInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getReservedInstancesIds()
The IDs of the Reserved Instances to modify.
|
List<ReservedInstancesConfiguration> |
getTargetConfigurations()
The configuration settings for the Reserved Instances to modify.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive token you provide to ensure idempotency of your modification request.
|
void |
setReservedInstancesIds(Collection<String> reservedInstancesIds)
The IDs of the Reserved Instances to modify.
|
void |
setTargetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
The configuration settings for the Reserved Instances to modify.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyReservedInstancesRequest |
withClientToken(String clientToken)
A unique, case-sensitive token you provide to ensure idempotency of your modification request.
|
ModifyReservedInstancesRequest |
withReservedInstancesIds(Collection<String> reservedInstancesIds)
The IDs of the Reserved Instances to modify.
|
ModifyReservedInstancesRequest |
withReservedInstancesIds(String... reservedInstancesIds)
The IDs of the Reserved Instances to modify.
|
ModifyReservedInstancesRequest |
withTargetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
The configuration settings for the Reserved Instances to modify.
|
ModifyReservedInstancesRequest |
withTargetConfigurations(ReservedInstancesConfiguration... targetConfigurations)
The configuration settings for the Reserved Instances to modify.
|
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 List<String> getReservedInstancesIds()
The IDs of the Reserved Instances to modify.
public void setReservedInstancesIds(Collection<String> reservedInstancesIds)
The IDs of the Reserved Instances to modify.
reservedInstancesIds
- The IDs of the Reserved Instances to modify.public ModifyReservedInstancesRequest withReservedInstancesIds(String... reservedInstancesIds)
The IDs of the Reserved Instances to modify.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesIds(java.util.Collection)
or withReservedInstancesIds(java.util.Collection)
if you want to override the existing values.
reservedInstancesIds
- The IDs of the Reserved Instances to modify.public ModifyReservedInstancesRequest withReservedInstancesIds(Collection<String> reservedInstancesIds)
The IDs of the Reserved Instances to modify.
reservedInstancesIds
- The IDs of the Reserved Instances to modify.public void setClientToken(String clientToken)
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more
information, see Ensuring
Idempotency.public String getClientToken()
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
public ModifyReservedInstancesRequest withClientToken(String clientToken)
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more
information, see Ensuring
Idempotency.public List<ReservedInstancesConfiguration> getTargetConfigurations()
The configuration settings for the Reserved Instances to modify.
public void setTargetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
The configuration settings for the Reserved Instances to modify.
targetConfigurations
- The configuration settings for the Reserved Instances to modify.public ModifyReservedInstancesRequest withTargetConfigurations(ReservedInstancesConfiguration... targetConfigurations)
The configuration settings for the Reserved Instances to modify.
NOTE: This method appends the values to the existing list (if any). Use
setTargetConfigurations(java.util.Collection)
or withTargetConfigurations(java.util.Collection)
if you want to override the existing values.
targetConfigurations
- The configuration settings for the Reserved Instances to modify.public ModifyReservedInstancesRequest withTargetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
The configuration settings for the Reserved Instances to modify.
targetConfigurations
- The configuration settings for the Reserved Instances to modify.public Request<ModifyReservedInstancesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyReservedInstancesRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyReservedInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.