Interface TargetReservationValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetReservationValue.Builder,,TargetReservationValue> SdkBuilder<TargetReservationValue.Builder,,TargetReservationValue> SdkPojo
- Enclosing class:
TargetReservationValue
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetReservationValue.BuilderreservationValue(Consumer<ReservationValue.Builder> reservationValue) The total value of the Convertible Reserved Instances that make up the exchange.reservationValue(ReservationValue reservationValue) The total value of the Convertible Reserved Instances that make up the exchange.default TargetReservationValue.BuildertargetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration) The configuration of the Convertible Reserved Instances that make up the exchange.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.Builderavoiding the need to create one manually viaReservationValue.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaTargetConfiguration.builder().When the
Consumercompletes,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:
-