Interface TargetReservationValue.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetReservationValue.Builder,TargetReservationValue>
,SdkBuilder<TargetReservationValue.Builder,TargetReservationValue>
,SdkPojo
- Enclosing class:
- TargetReservationValue
public static interface TargetReservationValue.Builder extends SdkPojo, CopyableBuilder<TargetReservationValue.Builder,TargetReservationValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
reservationValue
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationValue
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 viaReservationValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreservationValue(ReservationValue)
.- Parameters:
reservationValue
- a consumer that will call methods onReservationValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
reservationValue(ReservationValue)
-
targetConfiguration
TargetReservationValue.Builder targetConfiguration(TargetConfiguration targetConfiguration)
The configuration of the Convertible Reserved Instances that make up the exchange.
- Parameters:
targetConfiguration
- The configuration of the Convertible Reserved Instances that make up the exchange.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
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 viaTargetConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetConfiguration(TargetConfiguration)
.- Parameters:
targetConfiguration
- a consumer that will call methods onTargetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
targetConfiguration(TargetConfiguration)
-
-