Interface ReservedInstanceReservationValue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReservedInstanceReservationValue.Builder,ReservedInstanceReservationValue>,SdkBuilder<ReservedInstanceReservationValue.Builder,ReservedInstanceReservationValue>,SdkPojo
- Enclosing class:
- ReservedInstanceReservationValue
@Mutable @NotThreadSafe public static interface ReservedInstanceReservationValue.Builder extends SdkPojo, CopyableBuilder<ReservedInstanceReservationValue.Builder,ReservedInstanceReservationValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReservedInstanceReservationValue.BuilderreservationValue(Consumer<ReservationValue.Builder> reservationValue)The total value of the Convertible Reserved Instance that you are exchanging.ReservedInstanceReservationValue.BuilderreservationValue(ReservationValue reservationValue)The total value of the Convertible Reserved Instance that you are exchanging.ReservedInstanceReservationValue.BuilderreservedInstanceId(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reservationValue
ReservedInstanceReservationValue.Builder reservationValue(ReservationValue 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.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:
reservationValue(ReservationValue)
-
reservedInstanceId
ReservedInstanceReservationValue.Builder reservedInstanceId(String 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.
-
-