Interface ReservedNodeOffering.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReservedNodeOffering.Builder,ReservedNodeOffering>,SdkBuilder<ReservedNodeOffering.Builder,ReservedNodeOffering>,SdkPojo
- Enclosing class:
- ReservedNodeOffering
public static interface ReservedNodeOffering.Builder extends SdkPojo, CopyableBuilder<ReservedNodeOffering.Builder,ReservedNodeOffering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReservedNodeOffering.BuildercurrencyCode(String currencyCode)The currency code for the compute nodes offering.ReservedNodeOffering.Builderduration(Integer duration)The duration, in seconds, for which the offering will reserve the node.ReservedNodeOffering.BuilderfixedPrice(Double fixedPrice)The upfront fixed charge you will pay to purchase the specific reserved node offering.ReservedNodeOffering.BuildernodeType(String nodeType)The node type offered by the reserved node offering.ReservedNodeOffering.BuilderofferingType(String offeringType)The anticipated utilization of the reserved node, as defined in the reserved node offering.ReservedNodeOffering.BuilderrecurringCharges(Collection<RecurringCharge> recurringCharges)The charge to your account regardless of whether you are creating any clusters using the node offering.ReservedNodeOffering.BuilderrecurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)The charge to your account regardless of whether you are creating any clusters using the node offering.ReservedNodeOffering.BuilderrecurringCharges(RecurringCharge... recurringCharges)The charge to your account regardless of whether you are creating any clusters using the node offering.ReservedNodeOffering.BuilderreservedNodeOfferingId(String reservedNodeOfferingId)The offering identifier.ReservedNodeOffering.BuilderreservedNodeOfferingType(String reservedNodeOfferingType)ReservedNodeOffering.BuilderreservedNodeOfferingType(ReservedNodeOfferingType reservedNodeOfferingType)ReservedNodeOffering.BuilderusagePrice(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 Detail
-
reservedNodeOfferingId
ReservedNodeOffering.Builder reservedNodeOfferingId(String 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
ReservedNodeOffering.Builder nodeType(String 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
ReservedNodeOffering.Builder duration(Integer 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
ReservedNodeOffering.Builder fixedPrice(Double 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
ReservedNodeOffering.Builder usagePrice(Double 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
ReservedNodeOffering.Builder currencyCode(String 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
ReservedNodeOffering.Builder offeringType(String 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
ReservedNodeOffering.Builder recurringCharges(Collection<RecurringCharge> 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(RecurringCharge... 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.Builderavoiding the need to create one manually viaRecurringCharge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recurringCharges(List.) - 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:
#recurringCharges(java.util.Collection)
-
reservedNodeOfferingType
ReservedNodeOffering.Builder reservedNodeOfferingType(String reservedNodeOfferingType)
- Parameters:
reservedNodeOfferingType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReservedNodeOfferingType,ReservedNodeOfferingType
-
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:
ReservedNodeOfferingType,ReservedNodeOfferingType
-
-