public static interface ReservedInstancesModificationResult.Builder extends SdkPojo, CopyableBuilder<ReservedInstancesModificationResult.Builder,ReservedInstancesModificationResult>
Modifier and Type | Method and Description |
---|---|
ReservedInstancesModificationResult.Builder |
reservedInstancesId(String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request.
|
default ReservedInstancesModificationResult.Builder |
targetConfiguration(Consumer<ReservedInstancesConfiguration.Builder> targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
|
ReservedInstancesModificationResult.Builder |
targetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReservedInstancesModificationResult.Builder reservedInstancesId(String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
reservedInstancesId
- The ID for the Reserved Instances that were created as part of the modification request. This field is
only available when the modification is fulfilled.ReservedInstancesModificationResult.Builder targetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
targetConfiguration
- The target Reserved Instances configurations supplied as part of the modification request.default ReservedInstancesModificationResult.Builder targetConfiguration(Consumer<ReservedInstancesConfiguration.Builder> targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
This is a convenience method that creates an instance of theReservedInstancesConfiguration.Builder
avoiding the need to create one manually via ReservedInstancesConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to targetConfiguration(ReservedInstancesConfiguration)
.
targetConfiguration
- a consumer that will call methods on ReservedInstancesConfiguration.Builder
targetConfiguration(ReservedInstancesConfiguration)
Copyright © 2023. All rights reserved.