Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class ReservedNodeOffering

java.lang.Object
  extended by com.amazonaws.services.redshift.model.ReservedNodeOffering
All Implemented Interfaces:
Serializable

public class ReservedNodeOffering
extends Object
implements Serializable

Describes a reserved node offering.

See Also:
Serialized Form

Constructor Summary
ReservedNodeOffering()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservedNodeOffering

public ReservedNodeOffering()
Method Detail

getReservedNodeOfferingId

public String getReservedNodeOfferingId()
The offering identifier.

Returns:
The offering identifier.

setReservedNodeOfferingId

public void setReservedNodeOfferingId(String reservedNodeOfferingId)
The offering identifier.

Parameters:
reservedNodeOfferingId - The offering identifier.

withReservedNodeOfferingId

public ReservedNodeOffering withReservedNodeOfferingId(String reservedNodeOfferingId)
The offering identifier.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedNodeOfferingId - The offering identifier.
Returns:
A reference to this updated object so that method calls can be chained together.

getNodeType

public String getNodeType()
The node type offered by the reserved node offering.

Returns:
The node type offered by the reserved node offering.

setNodeType

public void setNodeType(String nodeType)
The node type offered by the reserved node offering.

Parameters:
nodeType - The node type offered by the reserved node offering.

withNodeType

public ReservedNodeOffering withNodeType(String nodeType)
The node type offered by the reserved node offering.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nodeType - The node type offered by the reserved node offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

public Integer 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.

setDuration

public void setDuration(Integer duration)
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.

withDuration

public ReservedNodeOffering withDuration(Integer duration)
The duration, in seconds, for which the offering will reserve the node.

Returns a reference to this object so that method calls can be chained together.

Parameters:
duration - The duration, in seconds, for which the offering will reserve the node.
Returns:
A reference to this updated object so that method calls can be chained together.

getFixedPrice

public Double 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.

setFixedPrice

public void setFixedPrice(Double fixedPrice)
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.

withFixedPrice

public ReservedNodeOffering withFixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved node offering.

Returns a reference to this object so that method calls can be chained together.

Parameters:
fixedPrice - The upfront fixed charge you will pay to purchase the specific reserved node offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getUsagePrice

public Double 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.

setUsagePrice

public void setUsagePrice(Double usagePrice)
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.

withUsagePrice

public ReservedNodeOffering withUsagePrice(Double usagePrice)
The rate you are charged for each hour the cluster that is using the offering is running.

Returns a reference to this object so that method calls can be chained together.

Parameters:
usagePrice - The rate you are charged for each hour the cluster that is using the offering is running.
Returns:
A reference to this updated object so that method calls can be chained together.

getCurrencyCode

public String getCurrencyCode()
The currency code for the compute nodes offering.

Returns:
The currency code for the compute nodes offering.

setCurrencyCode

public void setCurrencyCode(String currencyCode)
The currency code for the compute nodes offering.

Parameters:
currencyCode - The currency code for the compute nodes offering.

withCurrencyCode

public ReservedNodeOffering withCurrencyCode(String currencyCode)
The currency code for the compute nodes offering.

Returns a reference to this object so that method calls can be chained together.

Parameters:
currencyCode - The currency code for the compute nodes offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getOfferingType

public String 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.

setOfferingType

public void setOfferingType(String offeringType)
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.

withOfferingType

public ReservedNodeOffering withOfferingType(String offeringType)
The anticipated utilization of the reserved node, as defined in the reserved node offering.

Returns a reference to this object so that method calls can be chained together.

Parameters:
offeringType - The anticipated utilization of the reserved node, as defined in the reserved node offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getRecurringCharges

public List<RecurringCharge> 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

public void setRecurringCharges(Collection<RecurringCharge> 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.

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

public ReservedNodeOffering withRecurringCharges(RecurringCharge... 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

withRecurringCharges

public ReservedNodeOffering withRecurringCharges(Collection<RecurringCharge> 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.