Interface ReservationValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservationValue.Builder,
,ReservationValue> SdkBuilder<ReservationValue.Builder,
,ReservationValue> SdkPojo
- Enclosing class:
ReservationValue
public static interface ReservationValue.Builder
extends SdkPojo, CopyableBuilder<ReservationValue.Builder,ReservationValue>
-
Method Summary
Modifier and TypeMethodDescriptionhourlyPrice
(String hourlyPrice) The hourly rate of the reservation.remainingTotalValue
(String remainingTotalValue) The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).remainingUpfrontValue
(String remainingUpfrontValue) The remaining upfront cost of the reservation.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
-
hourlyPrice
The hourly rate of the reservation.
- Parameters:
hourlyPrice
- The hourly rate of the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remainingTotalValue
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
- Parameters:
remainingTotalValue
- The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remainingUpfrontValue
The remaining upfront cost of the reservation.
- Parameters:
remainingUpfrontValue
- The remaining upfront cost of the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-