public static interface ModifyReservedInstancesRequest.Builder extends EC2Request.Builder, CopyableBuilder<ModifyReservedInstancesRequest.Builder,ModifyReservedInstancesRequest>
| Modifier and Type | Method and Description |
|---|---|
ModifyReservedInstancesRequest.Builder |
clientToken(String clientToken)
A unique, case-sensitive token you provide to ensure idempotency of your modification request.
|
ModifyReservedInstancesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ModifyReservedInstancesRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyReservedInstancesRequest.Builder |
reservedInstancesIds(Collection<String> reservedInstancesIds)
The IDs of the Reserved Instances to modify.
|
ModifyReservedInstancesRequest.Builder |
reservedInstancesIds(String... reservedInstancesIds)
The IDs of the Reserved Instances to modify.
|
ModifyReservedInstancesRequest.Builder |
targetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
The configuration settings for the Reserved Instances to modify.
|
ModifyReservedInstancesRequest.Builder |
targetConfigurations(Consumer<ReservedInstancesConfiguration.Builder>... targetConfigurations)
The configuration settings for the Reserved Instances to modify.
|
ModifyReservedInstancesRequest.Builder |
targetConfigurations(ReservedInstancesConfiguration... targetConfigurations)
The configuration settings for the Reserved Instances to modify.
|
buildrequestOverrideConfigcopyapply, buildModifyReservedInstancesRequest.Builder reservedInstancesIds(Collection<String> reservedInstancesIds)
The IDs of the Reserved Instances to modify.
reservedInstancesIds - The IDs of the Reserved Instances to modify.ModifyReservedInstancesRequest.Builder reservedInstancesIds(String... reservedInstancesIds)
The IDs of the Reserved Instances to modify.
reservedInstancesIds - The IDs of the Reserved Instances to modify.ModifyReservedInstancesRequest.Builder clientToken(String clientToken)
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
clientToken - A unique, case-sensitive token you provide to ensure idempotency of your modification request. For
more information, see Ensuring
Idempotency.ModifyReservedInstancesRequest.Builder targetConfigurations(Collection<ReservedInstancesConfiguration> targetConfigurations)
The configuration settings for the Reserved Instances to modify.
targetConfigurations - The configuration settings for the Reserved Instances to modify.ModifyReservedInstancesRequest.Builder targetConfigurations(ReservedInstancesConfiguration... targetConfigurations)
The configuration settings for the Reserved Instances to modify.
targetConfigurations - The configuration settings for the Reserved Instances to modify.ModifyReservedInstancesRequest.Builder targetConfigurations(Consumer<ReservedInstancesConfiguration.Builder>... targetConfigurations)
The configuration settings for the Reserved Instances to modify.
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) ModifyReservedInstancesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ModifyReservedInstancesRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.