@Generated(value="software.amazon.awssdk:codegen") public final class ReservedNode extends Object implements ToCopyableBuilder<ReservedNode.Builder,ReservedNode>
Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.
Modifier and Type | Class and Description |
---|---|
static interface |
ReservedNode.Builder |
Modifier and Type | Method and Description |
---|---|
static ReservedNode.Builder |
builder() |
String |
currencyCode()
The currency code for the reserved cluster.
|
Integer |
duration()
The duration of the node reservation in seconds.
|
boolean |
equals(Object obj) |
Double |
fixedPrice()
The fixed cost Amazon Redshift charges you for this reserved node.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
nodeCount()
The number of reserved compute nodes.
|
String |
nodeType()
The node type of the reserved node.
|
String |
offeringType()
The anticipated utilization of the reserved node, as defined in the reserved node offering.
|
List<RecurringCharge> |
recurringCharges()
The recurring charges for the reserved node.
|
String |
reservedNodeId()
The unique identifier for the reservation.
|
String |
reservedNodeOfferingId()
The identifier for the reserved node offering.
|
static Class<? extends ReservedNode.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time the reservation started.
|
String |
state()
The state of the reserved compute node.
|
ReservedNode.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Double |
usagePrice()
The hourly rate Amazon Redshift charges you for this reserved node.
|
copy
public String reservedNodeId()
The unique identifier for the reservation.
public String reservedNodeOfferingId()
The identifier for the reserved node offering.
public String nodeType()
The node type of the reserved node.
public Instant startTime()
The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.
public Integer duration()
The duration of the node reservation in seconds.
public Double fixedPrice()
The fixed cost Amazon Redshift charges you for this reserved node.
public Double usagePrice()
The hourly rate Amazon Redshift charges you for this reserved node.
public String currencyCode()
The currency code for the reserved cluster.
public Integer nodeCount()
The number of reserved compute nodes.
public 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.
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.
public String offeringType()
The anticipated utilization of the reserved node, as defined in the reserved node offering.
public List<RecurringCharge> recurringCharges()
The recurring charges for the reserved node.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ReservedNode.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReservedNode.Builder,ReservedNode>
public static ReservedNode.Builder builder()
public static Class<? extends ReservedNode.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.