@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptReservedInstancesExchangeQuoteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AcceptReservedInstancesExchangeQuoteRequest>
Contains the parameters for accepting the quote.
NOOP
Constructor and Description |
---|
AcceptReservedInstancesExchangeQuoteRequest() |
Modifier and Type | Method and Description |
---|---|
AcceptReservedInstancesExchangeQuoteRequest |
clone() |
boolean |
equals(Object obj) |
Request<AcceptReservedInstancesExchangeQuoteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getReservedInstanceIds()
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or
higher value.
|
List<TargetConfigurationRequest> |
getTargetConfigurations()
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
|
int |
hashCode() |
void |
setReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or
higher value.
|
void |
setTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AcceptReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or
higher value.
|
AcceptReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(String... reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or
higher value.
|
AcceptReservedInstancesExchangeQuoteRequest |
withTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
|
AcceptReservedInstancesExchangeQuoteRequest |
withTargetConfigurations(TargetConfigurationRequest... targetConfigurations)
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public AcceptReservedInstancesExchangeQuoteRequest()
public List<String> getReservedInstanceIds()
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value.
public void setReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value.
reservedInstanceIds
- The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the
same or higher value.public AcceptReservedInstancesExchangeQuoteRequest withReservedInstanceIds(String... reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstanceIds(java.util.Collection)
or withReservedInstanceIds(java.util.Collection)
if you want to override the existing values.
reservedInstanceIds
- The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the
same or higher value.public AcceptReservedInstancesExchangeQuoteRequest withReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the same or higher value.
reservedInstanceIds
- The IDs of the Convertible Reserved Instances to exchange for other Convertible Reserved Instances of the
same or higher value.public List<TargetConfigurationRequest> getTargetConfigurations()
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
public void setTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
targetConfigurations
- The configurations of the Convertible Reserved Instance offerings that you are purchasing in this
exchange.public AcceptReservedInstancesExchangeQuoteRequest withTargetConfigurations(TargetConfigurationRequest... targetConfigurations)
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
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 configurations of the Convertible Reserved Instance offerings that you are purchasing in this
exchange.public AcceptReservedInstancesExchangeQuoteRequest withTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configurations of the Convertible Reserved Instance offerings that you are purchasing in this exchange.
targetConfigurations
- The configurations of the Convertible Reserved Instance offerings that you are purchasing in this
exchange.public Request<AcceptReservedInstancesExchangeQuoteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AcceptReservedInstancesExchangeQuoteRequest>
public String toString()
toString
in class Object
Object.toString()
public AcceptReservedInstancesExchangeQuoteRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.