public static interface AcceptReservedInstancesExchangeQuoteRequest.Builder extends Ec2Request.Builder, CopyableBuilder<AcceptReservedInstancesExchangeQuoteRequest.Builder,AcceptReservedInstancesExchangeQuoteRequest>
Modifier and Type | Method and Description |
---|---|
AcceptReservedInstancesExchangeQuoteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AcceptReservedInstancesExchangeQuoteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AcceptReservedInstancesExchangeQuoteRequest.Builder |
reservedInstanceIds(Collection<String> reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the
same or higher value.
|
AcceptReservedInstancesExchangeQuoteRequest.Builder |
reservedInstanceIds(String... reservedInstanceIds)
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the
same or higher value.
|
AcceptReservedInstancesExchangeQuoteRequest.Builder |
targetConfigurations(Collection<TargetConfigurationRequest> targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible
Reserved Instances.
|
AcceptReservedInstancesExchangeQuoteRequest.Builder |
targetConfigurations(Consumer<TargetConfigurationRequest.Builder>... targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible
Reserved Instances.
|
AcceptReservedInstancesExchangeQuoteRequest.Builder |
targetConfigurations(TargetConfigurationRequest... targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible
Reserved Instances.
|
build
overrideConfiguration
copy
applyMutation, build
AcceptReservedInstancesExchangeQuoteRequest.Builder reservedInstanceIds(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.AcceptReservedInstancesExchangeQuoteRequest.Builder reservedInstanceIds(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.AcceptReservedInstancesExchangeQuoteRequest.Builder targetConfigurations(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.AcceptReservedInstancesExchangeQuoteRequest.Builder targetConfigurations(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.AcceptReservedInstancesExchangeQuoteRequest.Builder targetConfigurations(Consumer<TargetConfigurationRequest.Builder>... targetConfigurations)
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #targetConfigurations(List)
.targetConfigurations
- a consumer that will call methods on List.Builder
#targetConfigurations(List)
AcceptReservedInstancesExchangeQuoteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AcceptReservedInstancesExchangeQuoteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.