public class ReservedNodeOffering extends Object implements Serializable
Describes a reserved node offering.
Constructor and Description |
---|
ReservedNodeOffering() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCurrencyCode()
The currency code for the compute nodes offering.
|
Integer |
getDuration()
The duration, in seconds, for which the offering will reserve the
node.
|
Double |
getFixedPrice()
The upfront fixed charge you will pay to purchase the specific
reserved node offering.
|
String |
getNodeType()
The node type offered by the reserved node offering.
|
String |
getOfferingType()
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
List<RecurringCharge> |
getRecurringCharges()
The charge to your account regardless of whether you are creating any
clusters using the node offering.
|
String |
getReservedNodeOfferingId()
The offering identifier.
|
Double |
getUsagePrice()
The rate you are charged for each hour the cluster that is using the
offering is running.
|
int |
hashCode() |
void |
setCurrencyCode(String currencyCode)
The currency code for the compute nodes offering.
|
void |
setDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the
node.
|
void |
setFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific
reserved node offering.
|
void |
setNodeType(String nodeType)
The node type offered by the reserved node offering.
|
void |
setOfferingType(String offeringType)
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any
clusters using the node offering.
|
void |
setReservedNodeOfferingId(String reservedNodeOfferingId)
The offering identifier.
|
void |
setUsagePrice(Double usagePrice)
The rate you are charged for each hour the cluster that is using the
offering is running.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedNodeOffering |
withCurrencyCode(String currencyCode)
The currency code for the compute nodes offering.
|
ReservedNodeOffering |
withDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the
node.
|
ReservedNodeOffering |
withFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific
reserved node offering.
|
ReservedNodeOffering |
withNodeType(String nodeType)
The node type offered by the reserved node offering.
|
ReservedNodeOffering |
withOfferingType(String offeringType)
The anticipated utilization of the reserved node, as defined in the
reserved node offering.
|
ReservedNodeOffering |
withRecurringCharges(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(String reservedNodeOfferingId)
The offering identifier.
|
ReservedNodeOffering |
withUsagePrice(Double usagePrice)
The rate you are charged for each hour the cluster that is using the
offering is running.
|
public String getReservedNodeOfferingId()
public void setReservedNodeOfferingId(String reservedNodeOfferingId)
reservedNodeOfferingId
- The offering identifier.public ReservedNodeOffering withReservedNodeOfferingId(String reservedNodeOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedNodeOfferingId
- The offering identifier.public String getNodeType()
public void setNodeType(String nodeType)
nodeType
- The node type offered by the reserved node offering.public ReservedNodeOffering withNodeType(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 Integer getDuration()
public void setDuration(Integer duration)
duration
- The duration, in seconds, for which the offering will reserve the
node.public ReservedNodeOffering withDuration(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 Double getFixedPrice()
public void setFixedPrice(Double fixedPrice)
fixedPrice
- The upfront fixed charge you will pay to purchase the specific
reserved node offering.public ReservedNodeOffering withFixedPrice(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 Double getUsagePrice()
public void setUsagePrice(Double usagePrice)
usagePrice
- The rate you are charged for each hour the cluster that is using the
offering is running.public ReservedNodeOffering withUsagePrice(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 String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode
- The currency code for the compute nodes offering.public ReservedNodeOffering withCurrencyCode(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 String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The anticipated utilization of the reserved node, as defined in the
reserved node offering.public ReservedNodeOffering 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 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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.