Interface ReservedNode.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ReservedNode.Builder,,- ReservedNode> - SdkBuilder<ReservedNode.Builder,,- ReservedNode> - SdkPojo
- Enclosing class:
- ReservedNode
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
reservationIdA 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.
 
- 
reservedNodesOfferingIdThe 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.
 
- 
nodeTypeThe 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.
 
- 
startTimeThe 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.
 
- 
durationThe 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.
 
- 
fixedPriceThe 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.
 
- 
nodeCountThe 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.
 
- 
offeringTypeThe 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.
 
- 
stateThe 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.
 
- 
recurringChargesThe 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.
 
- 
recurringChargesThe 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.
 
- 
recurringChargesThe recurring price charged to run this reserved node. 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 torecurringCharges(List<RecurringCharge>).- Parameters:
- recurringCharges- a consumer that will call methods on- RecurringCharge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
arnThe 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.
 
 
-