public class GetReservedInstancesExchangeQuoteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<GetReservedInstancesExchangeQuoteRequest>
Contains the parameters for GetReservedInstanceExchangeQuote.
NOOP
Constructor and Description |
---|
GetReservedInstancesExchangeQuoteRequest() |
Modifier and Type | Method and Description |
---|---|
GetReservedInstancesExchangeQuoteRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<GetReservedInstancesExchangeQuoteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getReservedInstanceIds()
The ID/s of the Convertible Reserved Instances you want to exchange.
|
List<TargetConfigurationRequest> |
getTargetConfigurations()
The configuration requirements of the Convertible Reserved Instances you want in exchange for your current
Convertible Reserved Instances.
|
int |
hashCode() |
void |
setReservedInstanceIds(Collection<String> reservedInstanceIds)
The ID/s of the Convertible Reserved Instances you want to exchange.
|
void |
setTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration requirements of the Convertible Reserved Instances you want in exchange for your current
Convertible Reserved Instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(Collection<String> reservedInstanceIds)
The ID/s of the Convertible Reserved Instances you want to exchange.
|
GetReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(String... reservedInstanceIds)
The ID/s of the Convertible Reserved Instances you want to exchange.
|
GetReservedInstancesExchangeQuoteRequest |
withTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration requirements of the Convertible Reserved Instances you want in exchange for your current
Convertible Reserved Instances.
|
GetReservedInstancesExchangeQuoteRequest |
withTargetConfigurations(TargetConfigurationRequest... targetConfigurations)
The configuration requirements of the Convertible Reserved Instances you want in exchange for your current
Convertible Reserved Instances.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetReservedInstancesExchangeQuoteRequest()
public List<String> getReservedInstanceIds()
The ID/s of the Convertible Reserved Instances you want to exchange.
public void setReservedInstanceIds(Collection<String> reservedInstanceIds)
The ID/s of the Convertible Reserved Instances you want to exchange.
reservedInstanceIds
- The ID/s of the Convertible Reserved Instances you want to exchange.public GetReservedInstancesExchangeQuoteRequest withReservedInstanceIds(String... reservedInstanceIds)
The ID/s of the Convertible Reserved Instances you want to exchange.
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 ID/s of the Convertible Reserved Instances you want to exchange.public GetReservedInstancesExchangeQuoteRequest withReservedInstanceIds(Collection<String> reservedInstanceIds)
The ID/s of the Convertible Reserved Instances you want to exchange.
reservedInstanceIds
- The ID/s of the Convertible Reserved Instances you want to exchange.public List<TargetConfigurationRequest> getTargetConfigurations()
The configuration requirements of the Convertible Reserved Instances you want in exchange for your current Convertible Reserved Instances.
public void setTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration requirements of the Convertible Reserved Instances you want in exchange for your current Convertible Reserved Instances.
targetConfigurations
- The configuration requirements of the Convertible Reserved Instances you want in exchange for your current
Convertible Reserved Instances.public GetReservedInstancesExchangeQuoteRequest withTargetConfigurations(TargetConfigurationRequest... targetConfigurations)
The configuration requirements of the Convertible Reserved Instances you want in 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 requirements of the Convertible Reserved Instances you want in exchange for your current
Convertible Reserved Instances.public GetReservedInstancesExchangeQuoteRequest withTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration requirements of the Convertible Reserved Instances you want in exchange for your current Convertible Reserved Instances.
targetConfigurations
- The configuration requirements of the Convertible Reserved Instances you want in exchange for your current
Convertible Reserved Instances.public Request<GetReservedInstancesExchangeQuoteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<GetReservedInstancesExchangeQuoteRequest>
public String toString()
toString
in class Object
Object.toString()
public GetReservedInstancesExchangeQuoteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.