@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 another Convertible Reserved Instance of the same
or higher value.
|
List<TargetConfigurationRequest> |
getTargetConfigurations()
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved
Instances.
|
int |
hashCode() |
void |
setReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same
or higher value.
|
void |
setTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved
Instances.
|
String |
toString()
Returns a string representation of this object.
|
AcceptReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same
or higher value.
|
AcceptReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(String... reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same
or higher value.
|
AcceptReservedInstancesExchangeQuoteRequest |
withTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved
Instances.
|
AcceptReservedInstancesExchangeQuoteRequest |
withTargetConfigurations(TargetConfigurationRequest... targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved
Instances.
|
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 AcceptReservedInstancesExchangeQuoteRequest()
public List<String> getReservedInstanceIds()
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
public void setReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
reservedInstanceIds
- The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the
same or higher value.public AcceptReservedInstancesExchangeQuoteRequest withReservedInstanceIds(String... reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance 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 another Convertible Reserved Instance of the
same or higher value.public AcceptReservedInstancesExchangeQuoteRequest withReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
reservedInstanceIds
- The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the
same or higher value.public List<TargetConfigurationRequest> getTargetConfigurations()
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
public void setTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
targetConfigurations
- The configuration of the target Convertible Reserved Instance to exchange for your current Convertible
Reserved Instances.public AcceptReservedInstancesExchangeQuoteRequest withTargetConfigurations(TargetConfigurationRequest... targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
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 of the target Convertible Reserved Instance to exchange for your current Convertible
Reserved Instances.public AcceptReservedInstancesExchangeQuoteRequest withTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
targetConfigurations
- The configuration of the target Convertible Reserved Instance to exchange for your current Convertible
Reserved Instances.public Request<AcceptReservedInstancesExchangeQuoteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AcceptReservedInstancesExchangeQuoteRequest>
public String toString()
toString
in class Object
Object.toString()
public AcceptReservedInstancesExchangeQuoteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()