public static interface TargetReservationValue.Builder extends SdkPojo, CopyableBuilder<TargetReservationValue.Builder,TargetReservationValue>
Modifier and Type | Method and Description |
---|---|
default TargetReservationValue.Builder |
reservationValue(Consumer<ReservationValue.Builder> reservationValue)
The total value of the Convertible Reserved Instances that make up the exchange.
|
TargetReservationValue.Builder |
reservationValue(ReservationValue reservationValue)
The total value of the Convertible Reserved Instances that make up the exchange.
|
default TargetReservationValue.Builder |
targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration)
The configuration of the Convertible Reserved Instances that make up the exchange.
|
TargetReservationValue.Builder |
targetConfiguration(TargetConfiguration targetConfiguration)
The configuration of the Convertible Reserved Instances that make up the exchange.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TargetReservationValue.Builder reservationValue(ReservationValue reservationValue)
The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange.
reservationValue
- The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of
the list value, remaining upfront price, and additional upfront cost of the exchange.default TargetReservationValue.Builder reservationValue(Consumer<ReservationValue.Builder> reservationValue)
The total value of the Convertible Reserved Instances that make up the exchange. This is the sum of the list value, remaining upfront price, and additional upfront cost of the exchange.
This is a convenience method that creates an instance of theReservationValue.Builder
avoiding the
need to create one manually via ReservationValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to reservationValue(ReservationValue)
.
reservationValue
- a consumer that will call methods on ReservationValue.Builder
reservationValue(ReservationValue)
TargetReservationValue.Builder targetConfiguration(TargetConfiguration targetConfiguration)
The configuration of the Convertible Reserved Instances that make up the exchange.
targetConfiguration
- The configuration of the Convertible Reserved Instances that make up the exchange.default TargetReservationValue.Builder targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration)
The configuration of the Convertible Reserved Instances that make up the exchange.
This is a convenience method that creates an instance of theTargetConfiguration.Builder
avoiding the
need to create one manually via TargetConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to targetConfiguration(TargetConfiguration)
.
targetConfiguration
- a consumer that will call methods on TargetConfiguration.Builder
targetConfiguration(TargetConfiguration)
Copyright © 2023. All rights reserved.