Interface ReservedNode.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedNode.Builder,
,ReservedNode> SdkBuilder<ReservedNode.Builder,
,ReservedNode> SdkPojo
- Enclosing class:
ReservedNode
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the reserved node.The duration of the reservation in seconds.fixedPrice
(Double fixedPrice) The fixed price charged for this reserved node.The number of nodes that have been reserved.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.reservationId
(String reservationId) A customer-specified identifier to track this reservation.reservedNodesOfferingId
(String reservedNodesOfferingId) The ID of the reserved node offering to purchase.The time the reservation started.The state of the reserved node.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
-
reservationId
A customer-specified identifier to track this reservation.
- Parameters:
reservationId
- A customer-specified identifier to track this reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedNodesOfferingId
The ID of the reserved node offering to purchase.
- Parameters:
reservedNodesOfferingId
- The ID of the reserved node offering to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The node type for the reserved nodes.
- Parameters:
nodeType
- The node type for the reserved nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time the reservation started.
- Parameters:
startTime
- The time the reservation started.- 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.
-
nodeCount
The number of nodes that have been reserved.
- Parameters:
nodeCount
- The number of nodes that have been reserved.- 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.
-
state
The state of the reserved node.
- Parameters:
state
- The state of the 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
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:
-
arn
The Amazon Resource Name (ARN) of the reserved node.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the reserved node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-