public static interface ReservedNodeOffering.Builder extends CopyableBuilder<ReservedNodeOffering.Builder,ReservedNodeOffering>
Modifier and Type | Method and Description |
---|---|
ReservedNodeOffering.Builder |
currencyCode(String currencyCode)
The currency code for the compute nodes offering.
|
ReservedNodeOffering.Builder |
duration(Integer duration)
The duration, in seconds, for which the offering will reserve the node.
|
ReservedNodeOffering.Builder |
fixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved node offering.
|
ReservedNodeOffering.Builder |
nodeType(String nodeType)
The node type offered by the reserved node offering.
|
ReservedNodeOffering.Builder |
offeringType(String offeringType)
The anticipated utilization of the reserved node, as defined in the reserved node offering.
|
ReservedNodeOffering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any clusters using the node offering.
|
ReservedNodeOffering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The charge to your account regardless of whether you are creating any clusters using the node offering.
|
ReservedNodeOffering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any clusters using the node offering.
|
ReservedNodeOffering.Builder |
reservedNodeOfferingId(String reservedNodeOfferingId)
The offering identifier.
|
ReservedNodeOffering.Builder |
usagePrice(Double usagePrice)
The rate you are charged for each hour the cluster that is using the offering is running.
|
copy
applyMutation, build
ReservedNodeOffering.Builder reservedNodeOfferingId(String reservedNodeOfferingId)
The offering identifier.
reservedNodeOfferingId
- The offering identifier.ReservedNodeOffering.Builder nodeType(String nodeType)
The node type offered by the reserved node offering.
nodeType
- The node type offered by the reserved node offering.ReservedNodeOffering.Builder duration(Integer duration)
The duration, in seconds, for which the offering will reserve the node.
duration
- The duration, in seconds, for which the offering will reserve the node.ReservedNodeOffering.Builder fixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved node offering.
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved node offering.ReservedNodeOffering.Builder usagePrice(Double usagePrice)
The rate you are charged for each hour the cluster that is using the offering is running.
usagePrice
- The rate you are charged for each hour the cluster that is using the offering is running.ReservedNodeOffering.Builder currencyCode(String currencyCode)
The currency code for the compute nodes offering.
currencyCode
- The currency code for the compute nodes offering.ReservedNodeOffering.Builder offeringType(String offeringType)
The anticipated utilization of the reserved node, as defined in the reserved node offering.
offeringType
- The anticipated utilization of the reserved node, as defined in the reserved node offering.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.
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.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.
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.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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #recurringCharges(List)
.recurringCharges
- a consumer that will call methods on List.Builder
#recurringCharges(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.