|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.redshift.model.ReservedNodeOffering
public class ReservedNodeOffering
Describes a reserved node offering.
Constructor Summary | |
---|---|
ReservedNodeOffering()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCurrencyCode()
The currency code for the compute nodes offering. |
java.lang.Integer |
getDuration()
The duration, in seconds, for which the offering will reserve the node. |
java.lang.Double |
getFixedPrice()
The upfront fixed charge you will pay to purchase the specific reserved node offering. |
java.lang.String |
getNodeType()
The node type offered by the reserved node offering. |
java.lang.String |
getOfferingType()
The anticipated utilization of the reserved node, as defined in the reserved node offering. |
java.util.List<RecurringCharge> |
getRecurringCharges()
The charge to your account regardless of whether you are creating any clusters using the node offering. |
java.lang.String |
getReservedNodeOfferingId()
The offering identifier. |
java.lang.Double |
getUsagePrice()
The rate you are charged for each hour the cluster that is using the offering is running. |
int |
hashCode()
|
void |
setCurrencyCode(java.lang.String currencyCode)
The currency code for the compute nodes offering. |
void |
setDuration(java.lang.Integer duration)
The duration, in seconds, for which the offering will reserve the node. |
void |
setFixedPrice(java.lang.Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved node offering. |
void |
setNodeType(java.lang.String nodeType)
The node type offered by the reserved node offering. |
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 charge to your account regardless of whether you are creating any clusters using the node offering. |
void |
setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The offering identifier. |
void |
setUsagePrice(java.lang.Double usagePrice)
The rate you are charged for each hour the cluster that is using the offering is running. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedNodeOffering |
withCurrencyCode(java.lang.String currencyCode)
The currency code for the compute nodes offering. |
ReservedNodeOffering |
withDuration(java.lang.Integer duration)
The duration, in seconds, for which the offering will reserve the node. |
ReservedNodeOffering |
withFixedPrice(java.lang.Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved node offering. |
ReservedNodeOffering |
withNodeType(java.lang.String nodeType)
The node type offered by the reserved node offering. |
ReservedNodeOffering |
withOfferingType(java.lang.String offeringType)
The anticipated utilization of the reserved node, as defined in the reserved node offering. |
ReservedNodeOffering |
withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any clusters using the node offering. |
ReservedNodeOffering |
withRecurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any clusters using the node offering. |
ReservedNodeOffering |
withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
The offering identifier. |
ReservedNodeOffering |
withUsagePrice(java.lang.Double usagePrice)
The rate you are charged for each hour the cluster that is using the offering is running. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedNodeOffering()
Method Detail |
---|
public java.lang.String getReservedNodeOfferingId()
public void setReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
reservedNodeOfferingId
- The offering identifier.public ReservedNodeOffering withReservedNodeOfferingId(java.lang.String reservedNodeOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedNodeOfferingId
- The offering identifier.public java.lang.String getNodeType()
public void setNodeType(java.lang.String nodeType)
nodeType
- The node type offered by the reserved node offering.public ReservedNodeOffering withNodeType(java.lang.String nodeType)
Returns a reference to this object so that method calls can be chained together.
nodeType
- The node type offered by the reserved node offering.public java.lang.Integer getDuration()
public void setDuration(java.lang.Integer duration)
duration
- The duration, in seconds, for which the offering will reserve the
node.public ReservedNodeOffering withDuration(java.lang.Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration
- The duration, in seconds, for which the offering will reserve the
node.public java.lang.Double getFixedPrice()
public void setFixedPrice(java.lang.Double fixedPrice)
fixedPrice
- The upfront fixed charge you will pay to purchase the specific
reserved node offering.public ReservedNodeOffering withFixedPrice(java.lang.Double fixedPrice)
Returns a reference to this object so that method calls can be chained together.
fixedPrice
- The upfront fixed charge you will pay to purchase the specific
reserved node offering.public java.lang.Double getUsagePrice()
public void setUsagePrice(java.lang.Double usagePrice)
usagePrice
- The rate you are charged for each hour the cluster that is using the
offering is running.public ReservedNodeOffering withUsagePrice(java.lang.Double usagePrice)
Returns a reference to this object so that method calls can be chained together.
usagePrice
- The rate you are charged for each hour the cluster that is using the
offering is running.public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode
- The currency code for the compute nodes offering.public ReservedNodeOffering 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 compute nodes offering.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 ReservedNodeOffering 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 charge to your account regardless of whether you are creating any
clusters using the node offering. Recurring charges are only in effect
for heavy-utilization reserved nodes.public ReservedNodeOffering withRecurringCharges(RecurringCharge... recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The charge to your account regardless of whether you are creating any
clusters using the node offering. Recurring charges are only in effect
for heavy-utilization reserved nodes.public ReservedNodeOffering withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The charge to your account regardless of whether you are creating any
clusters using the node offering. Recurring charges are only in effect
for heavy-utilization reserved nodes.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |