| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ModifyReservedInstancesRequest
public class ModifyReservedInstancesRequest
Container for the parameters to the 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.
AmazonEC2.modifyReservedInstances(ModifyReservedInstancesRequest), 
Serialized Form| Constructor Summary | |
|---|---|
| ModifyReservedInstancesRequest() | |
| Method Summary | |
|---|---|
|  boolean | equals(java.lang.Object obj) | 
|  java.lang.String | getClientToken()A unique, case-sensitive token you provide to ensure idempotency of your modification request. | 
|  java.util.List<java.lang.String> | getReservedInstancesIds()The IDs of the Reserved Instances to modify. | 
|  java.util.List<ReservedInstancesConfiguration> | getTargetConfigurations()The configuration settings for the Reserved Instances to modify. | 
|  int | hashCode() | 
|  void | setClientToken(java.lang.String clientToken)A unique, case-sensitive token you provide to ensure idempotency of your modification request. | 
|  void | setReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)The IDs of the Reserved Instances to modify. | 
|  void | setTargetConfigurations(java.util.Collection<ReservedInstancesConfiguration> targetConfigurations)The configuration settings for the Reserved Instances to modify. | 
|  java.lang.String | toString()Returns a string representation of this object; useful for testing and debugging. | 
|  ModifyReservedInstancesRequest | withClientToken(java.lang.String clientToken)A unique, case-sensitive token you provide to ensure idempotency of your modification request. | 
|  ModifyReservedInstancesRequest | withReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)The IDs of the Reserved Instances to modify. | 
|  ModifyReservedInstancesRequest | withReservedInstancesIds(java.lang.String... reservedInstancesIds)The IDs of the Reserved Instances to modify. | 
|  ModifyReservedInstancesRequest | withTargetConfigurations(java.util.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. | 
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest | 
|---|
| copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ModifyReservedInstancesRequest()
| Method Detail | 
|---|
public java.lang.String getClientToken()
public void setClientToken(java.lang.String clientToken)
clientToken - A unique, case-sensitive token you provide to ensure idempotency of
         your modification request.public ModifyReservedInstancesRequest withClientToken(java.lang.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 java.util.List<java.lang.String> getReservedInstancesIds()
public void setReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)
reservedInstancesIds - The IDs of the Reserved Instances to modify.public ModifyReservedInstancesRequest withReservedInstancesIds(java.lang.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(java.util.Collection<java.lang.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 java.util.List<ReservedInstancesConfiguration> getTargetConfigurations()
public void setTargetConfigurations(java.util.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(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||