Interface ReservedInstanceReservationValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedInstanceReservationValue.Builder,
,ReservedInstanceReservationValue> SdkBuilder<ReservedInstanceReservationValue.Builder,
,ReservedInstanceReservationValue> SdkPojo
- Enclosing class:
ReservedInstanceReservationValue
public static interface ReservedInstanceReservationValue.Builder
extends SdkPojo, CopyableBuilder<ReservedInstanceReservationValue.Builder,ReservedInstanceReservationValue>
-
Method Summary
Modifier and TypeMethodDescriptionreservationValue
(Consumer<ReservationValue.Builder> reservationValue) The total value of the Convertible Reserved Instance that you are exchanging.reservationValue
(ReservationValue reservationValue) The total value of the Convertible Reserved Instance that you are exchanging.reservedInstanceId
(String reservedInstanceId) The ID of the Convertible Reserved Instance that you are exchanging.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 Details
-
reservationValue
The total value of the Convertible Reserved Instance that you are exchanging.
- Parameters:
reservationValue
- The total value of the Convertible Reserved Instance that you are exchanging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationValue
default ReservedInstanceReservationValue.Builder reservationValue(Consumer<ReservationValue.Builder> reservationValue) The total value of the Convertible Reserved Instance that you are exchanging.
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:
-
reservedInstanceId
The ID of the Convertible Reserved Instance that you are exchanging.
- Parameters:
reservedInstanceId
- The ID of the Convertible Reserved Instance that you are exchanging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-