Interface ReservationOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservationOffering.Builder,
,ReservationOffering> SdkBuilder<ReservationOffering.Builder,
,ReservationOffering> SdkPojo
- Enclosing class:
ReservationOffering
@Mutable
@NotThreadSafe
public static interface ReservationOffering.Builder
extends SdkPojo, CopyableBuilder<ReservationOffering.Builder,ReservationOffering>
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency code for the offering.The duration, in seconds, for which the reservation reserves the RPUs.hourlyCharge
(Double hourlyCharge) The rate you are charged for each hour the reservation is active.offeringId
(String offeringId) The offering identifier.offeringType
(String offeringType) Determines the payment schedule for the reservation.offeringType
(OfferingType offeringType) Determines the payment schedule for the reservation.upfrontCharge
(Double upfrontCharge) The up-front price you are charged for 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, sdkFieldNameToField, sdkFields
-
Method Details
-
currencyCode
The currency code for the offering.
- Parameters:
currencyCode
- The currency code for the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The duration, in seconds, for which the reservation reserves the RPUs.
- Parameters:
duration
- The duration, in seconds, for which the reservation reserves the RPUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hourlyCharge
The rate you are charged for each hour the reservation is active.
- Parameters:
hourlyCharge
- The rate you are charged for each hour the reservation is active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringId
The offering identifier.
- Parameters:
offeringId
- The offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringType
Determines the payment schedule for the reservation.
- Parameters:
offeringType
- Determines the payment schedule for the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
offeringType
Determines the payment schedule for the reservation.
- Parameters:
offeringType
- Determines the payment schedule for the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upfrontCharge
The up-front price you are charged for the reservation.
- Parameters:
upfrontCharge
- The up-front price you are charged for the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-