Class ReservedNodeOffering
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a reserved node offering.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The currency code for the compute nodes offering.The duration, in seconds, for which the offering will reserve the node.The upfront fixed charge you will pay to purchase the specific reserved node offering.The node type offered by the reserved node offering.The anticipated utilization of the reserved node, as defined in the reserved node offering.The charge to your account regardless of whether you are creating any clusters using the node offering.The offering identifier.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCurrencyCode
(String currencyCode) The currency code for the compute nodes offering.withDuration
(Integer duration) The duration, in seconds, for which the offering will reserve the node.withFixedPrice
(Double fixedPrice) The upfront fixed charge you will pay to purchase the specific reserved node offering.withNodeType
(String nodeType) The node type offered by the reserved node offering.withOfferingType
(String offeringType) The anticipated utilization of the reserved node, as defined in the reserved node offering.withRecurringCharges
(RecurringCharge... recurringCharges) The charge to your account regardless of whether you are creating any clusters using the node offering.withRecurringCharges
(Collection<RecurringCharge> recurringCharges) The charge to your account regardless of whether you are creating any clusters using the node offering.withReservedNodeOfferingId
(String reservedNodeOfferingId) The offering identifier.withUsagePrice
(Double usagePrice) The rate you are charged for each hour the cluster that is using the offering is running.
-
Constructor Details
-
ReservedNodeOffering
public ReservedNodeOffering()
-
-
Method Details
-
setReservedNodeOfferingId
The offering identifier.
- Parameters:
reservedNodeOfferingId
- The offering identifier.
-
getReservedNodeOfferingId
The offering identifier.
- Returns:
- The offering identifier.
-
withReservedNodeOfferingId
The offering identifier.
- Parameters:
reservedNodeOfferingId
- The offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNodeType
The node type offered by the reserved node offering.
- Parameters:
nodeType
- The node type offered by the reserved node offering.
-
getNodeType
The node type offered by the reserved node offering.
- Returns:
- The node type offered by the reserved node offering.
-
withNodeType
The node type offered by the reserved node offering.
- Parameters:
nodeType
- The node type offered by the reserved node offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDuration
The duration, in seconds, for which the offering will reserve the node.
- Parameters:
duration
- The duration, in seconds, for which the offering will reserve the node.
-
getDuration
The duration, in seconds, for which the offering will reserve the node.
- Returns:
- The duration, in seconds, for which the offering will reserve the node.
-
withDuration
The duration, in seconds, for which the offering will reserve the node.
- Parameters:
duration
- The duration, in seconds, for which the offering will reserve the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFixedPrice
The upfront fixed charge you will pay to purchase the specific reserved node offering.
- Parameters:
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved node offering.
-
getFixedPrice
The upfront fixed charge you will pay to purchase the specific reserved node offering.
- Returns:
- The upfront fixed charge you will pay to purchase the specific reserved node offering.
-
withFixedPrice
The upfront fixed charge you will pay to purchase the specific reserved node offering.
- Parameters:
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved node offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsagePrice
The rate you are charged for each hour the cluster that is using the offering is running.
- Parameters:
usagePrice
- The rate you are charged for each hour the cluster that is using the offering is running.
-
getUsagePrice
The rate you are charged for each hour the cluster that is using the offering is running.
- Returns:
- The rate you are charged for each hour the cluster that is using the offering is running.
-
withUsagePrice
The rate you are charged for each hour the cluster that is using the offering is running.
- Parameters:
usagePrice
- The rate you are charged for each hour the cluster that is using the offering is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrencyCode
The currency code for the compute nodes offering.
- Parameters:
currencyCode
- The currency code for the compute nodes offering.
-
getCurrencyCode
The currency code for the compute nodes offering.
- Returns:
- The currency code for the compute nodes offering.
-
withCurrencyCode
The currency code for the compute nodes offering.
- Parameters:
currencyCode
- The currency code for the compute nodes offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOfferingType
The anticipated utilization of the reserved node, as defined in the reserved node offering.
- Parameters:
offeringType
- The anticipated utilization of the reserved node, as defined in the reserved node offering.
-
getOfferingType
The anticipated utilization of the reserved node, as defined in the reserved node offering.
- Returns:
- The anticipated utilization of the reserved node, as defined in the reserved node offering.
-
withOfferingType
The anticipated utilization of the reserved node, as defined in the reserved node offering.
- Parameters:
offeringType
- The anticipated utilization of the reserved node, as defined in the reserved node offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRecurringCharges
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.
- Returns:
- 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.
-
setRecurringCharges
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.
- Parameters:
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.
-
withRecurringCharges
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.
NOTE: This method appends the values to the existing list (if any). Use
setRecurringCharges(java.util.Collection)
orwithRecurringCharges(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRecurringCharges
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-