public class ReservedNode
extends java.lang.Object
implements java.io.Serializable
Describes a reserved node.
| コンストラクタと説明 |
|---|
ReservedNode() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCurrencyCode()
The currency code for the reserved cluster.
|
java.lang.Integer |
getDuration()
The duration of the node reservation in seconds.
|
java.lang.Double |
getFixedPrice()
The fixed cost Amazon Redshift charged you for this reserved node.
|
java.lang.Integer |
getNodeCount()
The number of reserved compute nodes.
|
java.lang.String |
getNodeType()
The node type of the reserved node.
|
java.lang.String |
getOfferingType()
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
java.util.List<RecurringCharge> |
getRecurringCharges()
The recurring charges for the reserved node.
|
java.lang.String |
getReservedNodeId()
The unique identifier for the reservation.
|
java.lang.String |
getReservedNodeOfferingId()
The identifier for the reserved node offering.
|
java.util.Date |
getStartTime()
The time the reservation started.
|
java.lang.String |
getState()
The state of the reserved Compute Node.
|
java.lang.Double |
getUsagePrice()
The hourly rate Amazon Redshift charge you for this reserved node.
|
int |
hashCode() |
void |
setCurrencyCode(java.lang.String currencyCode)
The currency code for the reserved cluster.
|
void |
setDuration(java.lang.Integer duration)
The duration of the node reservation in seconds.
|
void |
setFixedPrice(java.lang.Double fixedPrice)
The fixed cost Amazon Redshift charged you for this reserved node.
|
void |
setNodeCount(java.lang.Integer nodeCount)
The number of reserved compute nodes.
|
void |
setNodeType(java.lang.String nodeType)
The node type of the reserved node.
|
void |
setOfferingType(java.lang.String offeringType)
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
void |
setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring charges for the reserved node.
|
void |
setReservedNodeId(java.lang.String reservedNodeId)
The unique identifier for the reservation.
|
void |
setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The identifier for the reserved node offering.
|
void |
setStartTime(java.util.Date startTime)
The time the reservation started.
|
void |
setState(java.lang.String state)
The state of the reserved Compute Node.
|
void |
setUsagePrice(java.lang.Double usagePrice)
The hourly rate Amazon Redshift charge you for this reserved node.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedNode |
withCurrencyCode(java.lang.String currencyCode)
The currency code for the reserved cluster.
|
ReservedNode |
withDuration(java.lang.Integer duration)
The duration of the node reservation in seconds.
|
ReservedNode |
withFixedPrice(java.lang.Double fixedPrice)
The fixed cost Amazon Redshift charged you for this reserved node.
|
ReservedNode |
withNodeCount(java.lang.Integer nodeCount)
The number of reserved compute nodes.
|
ReservedNode |
withNodeType(java.lang.String nodeType)
The node type of the reserved node.
|
ReservedNode |
withOfferingType(java.lang.String offeringType)
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
ReservedNode |
withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring charges for the reserved node.
|
ReservedNode |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring charges for the reserved node.
|
ReservedNode |
withReservedNodeId(java.lang.String reservedNodeId)
The unique identifier for the reservation.
|
ReservedNode |
withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The identifier for the reserved node offering.
|
ReservedNode |
withStartTime(java.util.Date startTime)
The time the reservation started.
|
ReservedNode |
withState(java.lang.String state)
The state of the reserved Compute Node.
|
ReservedNode |
withUsagePrice(java.lang.Double usagePrice)
The hourly rate Amazon Redshift charge you for this reserved node.
|
public java.lang.String getReservedNodeId()
public void setReservedNodeId(java.lang.String reservedNodeId)
reservedNodeId - The unique identifier for the reservation.public ReservedNode withReservedNodeId(java.lang.String reservedNodeId)
Returns a reference to this object so that method calls can be chained together.
reservedNodeId - The unique identifier for the reservation.public java.lang.String getReservedNodeOfferingId()
public void setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
reservedNodeOfferingId - The identifier for the reserved node offering.public ReservedNode withReservedNodeOfferingId(java.lang.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 java.lang.String getNodeType()
public void setNodeType(java.lang.String nodeType)
nodeType - The node type of the reserved node.public ReservedNode withNodeType(java.lang.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 java.util.Date getStartTime()
public void setStartTime(java.util.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(java.util.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 java.lang.Integer getDuration()
public void setDuration(java.lang.Integer duration)
duration - The duration of the node reservation in seconds.public ReservedNode withDuration(java.lang.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 java.lang.Double getFixedPrice()
public void setFixedPrice(java.lang.Double fixedPrice)
fixedPrice - The fixed cost Amazon Redshift charged you for this reserved node.public ReservedNode withFixedPrice(java.lang.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 java.lang.Double getUsagePrice()
public void setUsagePrice(java.lang.Double usagePrice)
usagePrice - The hourly rate Amazon Redshift charge you for this reserved node.public ReservedNode withUsagePrice(java.lang.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 java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode - The currency code for the reserved cluster.public ReservedNode withCurrencyCode(java.lang.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 java.lang.Integer getNodeCount()
public void setNodeCount(java.lang.Integer nodeCount)
nodeCount - The number of reserved compute nodes.public ReservedNode withNodeCount(java.lang.Integer nodeCount)
Returns a reference to this object so that method calls can be chained together.
nodeCount - The number of reserved compute nodes.public java.lang.String getState()
Possible Values:
Possible Values:
public void setState(java.lang.String state)
Possible Values:
state - The state of the reserved Compute Node. Possible Values:
public ReservedNode withState(java.lang.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 java.lang.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType - The anticipated utilization of the reserved node, as defined in the
reserved node offering.public ReservedNode withOfferingType(java.lang.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 java.util.List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object