Interface ReservedNodesOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedNodesOffering.Builder,
,ReservedNodesOffering> SdkBuilder<ReservedNodesOffering.Builder,
,ReservedNodesOffering> SdkPojo
- Enclosing class:
ReservedNodesOffering
@Mutable
@NotThreadSafe
public static interface ReservedNodesOffering.Builder
extends SdkPojo, CopyableBuilder<ReservedNodesOffering.Builder,ReservedNodesOffering>
-
Method Summary
Modifier and TypeMethodDescriptionThe duration of the reservation in seconds.fixedPrice
(Double fixedPrice) The fixed price charged for this reserved node.The node type for the reserved nodes.offeringType
(String offeringType) The offering type of this reserved node.recurringCharges
(Collection<RecurringCharge> recurringCharges) The recurring price charged to run this reserved node.recurringCharges
(Consumer<RecurringCharge.Builder>... recurringCharges) The recurring price charged to run this reserved node.recurringCharges
(RecurringCharge... recurringCharges) The recurring price charged to run this reserved node.reservedNodesOfferingId
(String reservedNodesOfferingId) The offering identifier.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
-
reservedNodesOfferingId
The offering identifier.
- Parameters:
reservedNodesOfferingId
- The offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The node type for the reserved nodes. For more information, see Supported node types.
- Parameters:
nodeType
- The node type for the reserved nodes. For more information, see Supported node types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The duration of the reservation in seconds.
- Parameters:
duration
- The duration of the reservation in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedPrice
The fixed price charged for this reserved node.
- Parameters:
fixedPrice
- The fixed price charged for this reserved node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringType
The offering type of this reserved node.
- Parameters:
offeringType
- The offering type of this reserved node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The recurring price charged to run this reserved node.
- Parameters:
recurringCharges
- The recurring price charged to run this reserved node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The recurring price charged to run this reserved node.
- Parameters:
recurringCharges
- The recurring price charged to run this reserved node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
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 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:
-