public static interface ReservedNodesOffering.Builder extends SdkPojo, CopyableBuilder<ReservedNodesOffering.Builder,ReservedNodesOffering>
| Modifier and Type | Method and Description |
|---|---|
ReservedNodesOffering.Builder |
duration(Integer duration)
The duration of the reservation in seconds.
|
ReservedNodesOffering.Builder |
fixedPrice(Double fixedPrice)
The fixed price charged for this reserved node.
|
ReservedNodesOffering.Builder |
nodeType(String nodeType)
The node type for the reserved nodes.
|
ReservedNodesOffering.Builder |
offeringType(String offeringType)
The offering type of this reserved node.
|
ReservedNodesOffering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved node.
|
ReservedNodesOffering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring price charged to run this reserved node.
|
ReservedNodesOffering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved node.
|
ReservedNodesOffering.Builder |
reservedNodesOfferingId(String reservedNodesOfferingId)
The offering identifier.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReservedNodesOffering.Builder reservedNodesOfferingId(String reservedNodesOfferingId)
The offering identifier.
reservedNodesOfferingId - The offering identifier.ReservedNodesOffering.Builder nodeType(String nodeType)
The node type for the reserved nodes. For more information, see Supported node types.
nodeType - The node type for the reserved nodes. For more information, see Supported node types.ReservedNodesOffering.Builder duration(Integer duration)
The duration of the reservation in seconds.
duration - The duration of the reservation in seconds.ReservedNodesOffering.Builder fixedPrice(Double fixedPrice)
The fixed price charged for this reserved node.
fixedPrice - The fixed price charged for this reserved node.ReservedNodesOffering.Builder offeringType(String offeringType)
The offering type of this reserved node.
offeringType - The offering type of this reserved node.ReservedNodesOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved node.
recurringCharges - The recurring price charged to run this reserved node.ReservedNodesOffering.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved node.
recurringCharges - The recurring price charged to run this reserved node.ReservedNodesOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring price charged to run this reserved node.
This is a convenience method that creates an instance of theRecurringCharge.Builder avoiding the need to create
one manually via RecurringCharge.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #recurringCharges(List.
recurringCharges - a consumer that will call methods on
RecurringCharge.Builder#recurringCharges(java.util.Collection) Copyright © 2023. All rights reserved.