public class ReservedNode extends Object implements Serializable
Describes a reserved node.
Constructor and Description |
---|
ReservedNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCurrencyCode()
The currency code for the reserved cluster.
|
Integer |
getDuration()
The duration of the node reservation in seconds.
|
Double |
getFixedPrice()
The fixed cost Amazon Redshift charged you for this reserved node.
|
Integer |
getNodeCount()
The number of reserved compute nodes.
|
String |
getNodeType()
The node type of the reserved node.
|
String |
getOfferingType()
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
List<RecurringCharge> |
getRecurringCharges()
The recurring charges for the reserved node.
|
String |
getReservedNodeId()
The unique identifier for the reservation.
|
String |
getReservedNodeOfferingId()
The identifier for the reserved node offering.
|
Date |
getStartTime()
The time the reservation started.
|
String |
getState()
The state of the reserved Compute Node.
|
Double |
getUsagePrice()
The hourly rate Amazon Redshift charge you for this reserved node.
|
int |
hashCode() |
void |
setCurrencyCode(String currencyCode)
The currency code for the reserved cluster.
|
void |
setDuration(Integer duration)
The duration of the node reservation in seconds.
|
void |
setFixedPrice(Double fixedPrice)
The fixed cost Amazon Redshift charged you for this reserved node.
|
void |
setNodeCount(Integer nodeCount)
The number of reserved compute nodes.
|
void |
setNodeType(String nodeType)
The node type of the reserved node.
|
void |
setOfferingType(String offeringType)
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charges for the reserved node.
|
void |
setReservedNodeId(String reservedNodeId)
The unique identifier for the reservation.
|
void |
setReservedNodeOfferingId(String reservedNodeOfferingId)
The identifier for the reserved node offering.
|
void |
setStartTime(Date startTime)
The time the reservation started.
|
void |
setState(String state)
The state of the reserved Compute Node.
|
void |
setUsagePrice(Double usagePrice)
The hourly rate Amazon Redshift charge you for this reserved node.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedNode |
withCurrencyCode(String currencyCode)
The currency code for the reserved cluster.
|
ReservedNode |
withDuration(Integer duration)
The duration of the node reservation in seconds.
|
ReservedNode |
withFixedPrice(Double fixedPrice)
The fixed cost Amazon Redshift charged you for this reserved node.
|
ReservedNode |
withNodeCount(Integer nodeCount)
The number of reserved compute nodes.
|
ReservedNode |
withNodeType(String nodeType)
The node type of the reserved node.
|
ReservedNode |
withOfferingType(String offeringType)
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
ReservedNode |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charges for the reserved node.
|
ReservedNode |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring charges for the reserved node.
|
ReservedNode |
withReservedNodeId(String reservedNodeId)
The unique identifier for the reservation.
|
ReservedNode |
withReservedNodeOfferingId(String reservedNodeOfferingId)
The identifier for the reserved node offering.
|
ReservedNode |
withStartTime(Date startTime)
The time the reservation started.
|
ReservedNode |
withState(String state)
The state of the reserved Compute Node.
|
ReservedNode |
withUsagePrice(Double usagePrice)
The hourly rate Amazon Redshift charge you for this reserved node.
|
public String getReservedNodeId()
public void setReservedNodeId(String reservedNodeId)
reservedNodeId
- The unique identifier for the reservation.public ReservedNode withReservedNodeId(String reservedNodeId)
Returns a reference to this object so that method calls can be chained together.
reservedNodeId
- The unique identifier for the reservation.public String getReservedNodeOfferingId()
public void setReservedNodeOfferingId(String reservedNodeOfferingId)
reservedNodeOfferingId
- The identifier for the reserved node offering.public ReservedNode withReservedNodeOfferingId(String reservedNodeOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedNodeOfferingId
- The identifier for the reserved node offering.public String getNodeType()
public void setNodeType(String nodeType)
nodeType
- The node type of the reserved node.public ReservedNode withNodeType(String nodeType)
Returns a reference to this object so that method calls can be chained together.
nodeType
- The node type of the reserved node.public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The time the reservation started. You purchase a reserved node
offering for a duration. This is the start time of that duration.public ReservedNode withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
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 getDuration()
public void setDuration(Integer duration)
duration
- The duration of the node reservation in seconds.public ReservedNode withDuration(Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration
- The duration of the node reservation in seconds.public Double getFixedPrice()
public void setFixedPrice(Double fixedPrice)
fixedPrice
- The fixed cost Amazon Redshift charged you for this reserved node.public ReservedNode withFixedPrice(Double fixedPrice)
Returns a reference to this object so that method calls can be chained together.
fixedPrice
- The fixed cost Amazon Redshift charged you for this reserved node.public Double getUsagePrice()
public void setUsagePrice(Double usagePrice)
usagePrice
- The hourly rate Amazon Redshift charge you for this reserved node.public ReservedNode withUsagePrice(Double usagePrice)
Returns a reference to this object so that method calls can be chained together.
usagePrice
- The hourly rate Amazon Redshift charge you for this reserved node.public String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode
- The currency code for the reserved cluster.public ReservedNode withCurrencyCode(String currencyCode)
Returns a reference to this object so that method calls can be chained together.
currencyCode
- The currency code for the reserved cluster.public Integer getNodeCount()
public void setNodeCount(Integer nodeCount)
nodeCount
- The number of reserved compute nodes.public ReservedNode withNodeCount(Integer nodeCount)
Returns a reference to this object so that method calls can be chained together.
nodeCount
- The number of reserved compute nodes.public String getState()
Possible Values:
Possible Values:
public void setState(String state)
Possible Values:
state
- The state of the reserved Compute Node. Possible Values:
public ReservedNode withState(String state)
Possible Values:
Returns a reference to this object so that method calls can be chained together.
state
- The state of the reserved Compute Node. Possible Values:
public String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The anticipated utilization of the reserved node, as defined in the
reserved node offering.public ReservedNode withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The anticipated utilization of the reserved node, as defined in the
reserved node offering.public List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
recurringCharges
- The recurring charges for the reserved node.public ReservedNode withRecurringCharges(RecurringCharge... recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The recurring charges for the reserved node.public ReservedNode withRecurringCharges(Collection<RecurringCharge> recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The recurring charges for the reserved node.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.