@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<GetReservedInstancesExchangeQuoteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getReservedInstanceIds()
The IDs of the Convertible Reserved Instances to exchange.
|
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.
|
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.
|
GetReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange.
|
GetReservedInstancesExchangeQuoteRequest |
withReservedInstanceIds(String... reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange.
|
GetReservedInstancesExchangeQuoteRequest |
withTargetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved
Instances.
|
GetReservedInstancesExchangeQuoteRequest |
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, withSdkRequestTimeoutpublic GetReservedInstancesExchangeQuoteRequest()
public List<String> getReservedInstanceIds()
The IDs of the Convertible Reserved Instances to exchange.
public void setReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange.
reservedInstanceIds - The IDs of the Convertible Reserved Instances to exchange.public GetReservedInstancesExchangeQuoteRequest withReservedInstanceIds(String... reservedInstanceIds)
The IDs of the Convertible Reserved Instances 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 IDs of the Convertible Reserved Instances to exchange.public GetReservedInstancesExchangeQuoteRequest withReservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange.
reservedInstanceIds - The IDs of the Convertible Reserved Instances to exchange.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 GetReservedInstancesExchangeQuoteRequest 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 GetReservedInstancesExchangeQuoteRequest 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<GetReservedInstancesExchangeQuoteRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<GetReservedInstancesExchangeQuoteRequest>public String toString()
toString in class ObjectObject.toString()public GetReservedInstancesExchangeQuoteRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()