public static interface ReservedInstanceReservationValue.Builder extends CopyableBuilder<ReservedInstanceReservationValue.Builder,ReservedInstanceReservationValue>
Modifier and Type | Method and Description |
---|---|
default ReservedInstanceReservationValue.Builder |
reservationValue(Consumer<ReservationValue.Builder> reservationValue)
The total value of the Convertible Reserved Instance that you are exchanging.
|
ReservedInstanceReservationValue.Builder |
reservationValue(ReservationValue reservationValue)
The total value of the Convertible Reserved Instance that you are exchanging.
|
ReservedInstanceReservationValue.Builder |
reservedInstanceId(String reservedInstanceId)
The ID of the Convertible Reserved Instance that you are exchanging.
|
copy
apply, build
ReservedInstanceReservationValue.Builder reservationValue(ReservationValue reservationValue)
The total value of the Convertible Reserved Instance that you are exchanging.
reservationValue
- The total value of the Convertible Reserved Instance that you are exchanging.default ReservedInstanceReservationValue.Builder reservationValue(Consumer<ReservationValue.Builder> reservationValue)
The total value of the Convertible Reserved Instance that you are exchanging.
This is a convenience 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)
ReservedInstanceReservationValue.Builder reservedInstanceId(String reservedInstanceId)
The ID of the Convertible Reserved Instance that you are exchanging.
reservedInstanceId
- The ID of the Convertible Reserved Instance that you are exchanging.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.