public class ModifyReservedInstancesRequest extends AmazonWebServiceRequest implements Serializable
ModifyReservedInstances operation
.
Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances. The Reserved Instances to be modified must be identical, except for Availability Zone, network platform, and instance type.
For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide for Linux.
NOOP
Constructor and Description |
---|
ModifyReservedInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive token you provide to ensure idempotency of
your modification request.
|
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.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getClientToken()
public void setClientToken(String clientToken)
clientToken
- A unique, case-sensitive token you provide to ensure idempotency of
your modification request.public ModifyReservedInstancesRequest withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken
- A unique, case-sensitive token you provide to ensure idempotency of
your modification request.public List<String> getReservedInstancesIds()
public void setReservedInstancesIds(Collection<String> reservedInstancesIds)
reservedInstancesIds
- The IDs of the Reserved Instances to modify.public ModifyReservedInstancesRequest withReservedInstancesIds(String... reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The IDs of the Reserved Instances to modify.public ModifyReservedInstancesRequest withReservedInstancesIds(Collection<String> reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The IDs of the Reserved Instances to modify.public List<ReservedInstancesConfiguration> getTargetConfigurations()
public void setTargetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
targetConfigurations
- The configuration settings for the Reserved Instances to modify.public ModifyReservedInstancesRequest withTargetConfigurations(ReservedInstancesConfiguration... targetConfigurations)
Returns a reference to this object so that method calls can be chained together.
targetConfigurations
- The configuration settings for the Reserved Instances to modify.public ModifyReservedInstancesRequest withTargetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
Returns a reference to this object so that method calls can be chained together.
targetConfigurations
- The configuration settings for the Reserved Instances to modify.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.