CopyableBuilder<ReservedNode.Builder,ReservedNode>, SdkBuilder<ReservedNode.Builder,ReservedNode>public static interface ReservedNode.Builder extends CopyableBuilder<ReservedNode.Builder,ReservedNode>
| Modifier and Type | Method | Description |
|---|---|---|
ReservedNode.Builder |
currencyCode(String currencyCode) |
The currency code for the reserved cluster.
|
ReservedNode.Builder |
duration(Integer duration) |
The duration of the node reservation in seconds.
|
ReservedNode.Builder |
fixedPrice(Double fixedPrice) |
The fixed cost Amazon Redshift charges you for this reserved node.
|
ReservedNode.Builder |
nodeCount(Integer nodeCount) |
The number of reserved compute nodes.
|
ReservedNode.Builder |
nodeType(String nodeType) |
The node type of the reserved node.
|
ReservedNode.Builder |
offeringType(String offeringType) |
The anticipated utilization of the reserved node, as defined in the reserved node offering.
|
ReservedNode.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges) |
The recurring charges for the reserved node.
|
ReservedNode.Builder |
recurringCharges(RecurringCharge... recurringCharges) |
The recurring charges for the reserved node.
|
ReservedNode.Builder |
reservedNodeId(String reservedNodeId) |
The unique identifier for the reservation.
|
ReservedNode.Builder |
reservedNodeOfferingId(String reservedNodeOfferingId) |
The identifier for the reserved node offering.
|
ReservedNode.Builder |
startTime(Date startTime) |
The time the reservation started.
|
ReservedNode.Builder |
state(String state) |
The state of the reserved compute node.
|
ReservedNode.Builder |
usagePrice(Double usagePrice) |
The hourly rate Amazon Redshift charges you for this reserved node.
|
copyapply, buildReservedNode.Builder reservedNodeId(String reservedNodeId)
The unique identifier for the reservation.
reservedNodeId - The unique identifier for the reservation.ReservedNode.Builder reservedNodeOfferingId(String reservedNodeOfferingId)
The identifier for the reserved node offering.
reservedNodeOfferingId - The identifier for the reserved node offering.ReservedNode.Builder nodeType(String nodeType)
The node type of the reserved node.
nodeType - The node type of the reserved node.ReservedNode.Builder startTime(Date startTime)
The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.
startTime - The time the reservation started. You purchase a reserved node offering for a duration. This is the
start time of that duration.ReservedNode.Builder duration(Integer duration)
The duration of the node reservation in seconds.
duration - The duration of the node reservation in seconds.ReservedNode.Builder fixedPrice(Double fixedPrice)
The fixed cost Amazon Redshift charges you for this reserved node.
fixedPrice - The fixed cost Amazon Redshift charges you for this reserved node.ReservedNode.Builder usagePrice(Double usagePrice)
The hourly rate Amazon Redshift charges you for this reserved node.
usagePrice - The hourly rate Amazon Redshift charges you for this reserved node.ReservedNode.Builder currencyCode(String currencyCode)
The currency code for the reserved cluster.
currencyCode - The currency code for the reserved cluster.ReservedNode.Builder nodeCount(Integer nodeCount)
The number of reserved compute nodes.
nodeCount - The number of reserved compute nodes.ReservedNode.Builder state(String state)
The state of the reserved compute node.
Possible Values:
pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
active-This reserved node is owned by the caller and is available for use.
payment-failed-Payment failed for the purchase attempt.
state - The state of the reserved compute node.
Possible Values:
pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
active-This reserved node is owned by the caller and is available for use.
payment-failed-Payment failed for the purchase attempt.
ReservedNode.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.ReservedNode.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charges for the reserved node.
recurringCharges - The recurring charges for the reserved node.ReservedNode.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring charges for the reserved node.
NOTE: This method appends the values to the existing list (if any). Use
#setRecurringCharges(java.util.Collection) or #withRecurringCharges(java.util.Collection) if
you want to override the existing values.
recurringCharges - The recurring charges for the reserved node.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.