Interface ReservedNodeOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedNodeOffering.Builder,
,ReservedNodeOffering> SdkBuilder<ReservedNodeOffering.Builder,
,ReservedNodeOffering> SdkPojo
- Enclosing class:
ReservedNodeOffering
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency code for the compute nodes offering.The duration, in seconds, for which the offering will reserve the node.fixedPrice
(Double fixedPrice) The upfront fixed charge you will pay to purchase the specific reserved node offering.The node type offered by the reserved node offering.offeringType
(String offeringType) The anticipated utilization of the reserved node, as defined in the reserved node offering.recurringCharges
(Collection<RecurringCharge> recurringCharges) The charge to your account regardless of whether you are creating any clusters using the node offering.recurringCharges
(Consumer<RecurringCharge.Builder>... recurringCharges) The charge to your account regardless of whether you are creating any clusters using the node offering.recurringCharges
(RecurringCharge... recurringCharges) The charge to your account regardless of whether you are creating any clusters using the node offering.reservedNodeOfferingId
(String reservedNodeOfferingId) The offering identifier.reservedNodeOfferingType
(String reservedNodeOfferingType) reservedNodeOfferingType
(ReservedNodeOfferingType reservedNodeOfferingType) usagePrice
(Double usagePrice) The rate you are charged for each hour the cluster that is using the offering is running.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
-
reservedNodeOfferingId
The offering identifier.
- Parameters:
reservedNodeOfferingId
- The offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The node type offered by the reserved node offering.
- Parameters:
nodeType
- The node type offered by the reserved node offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The duration, in seconds, for which the offering will reserve the node.
- Parameters:
duration
- The duration, in seconds, for which the offering will reserve the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedPrice
The upfront fixed charge you will pay to purchase the specific reserved node offering.
- Parameters:
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved node offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usagePrice
The rate you are charged for each hour the cluster that is using the offering is running.
- Parameters:
usagePrice
- The rate you are charged for each hour the cluster that is using the offering is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code for the compute nodes offering.
- Parameters:
currencyCode
- The currency code for the compute nodes offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringType
The anticipated utilization of the reserved node, as defined in the reserved node offering.
- Parameters:
offeringType
- The anticipated utilization of the reserved node, as defined in the reserved node offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.
- Parameters:
recurringCharges
- The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.
- Parameters:
recurringCharges
- The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
ReservedNodeOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges) The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.
This is a convenience method that creates an instance of theRecurringCharge.Builder
avoiding the need to create one manually viaRecurringCharge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecurringCharges(List<RecurringCharge>)
.- Parameters:
recurringCharges
- a consumer that will call methods onRecurringCharge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservedNodeOfferingType
- Parameters:
reservedNodeOfferingType
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservedNodeOfferingType
ReservedNodeOffering.Builder reservedNodeOfferingType(ReservedNodeOfferingType reservedNodeOfferingType) - Parameters:
reservedNodeOfferingType
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-