com.amazonaws.services.rds.model
Class ReservedDBInstancesOffering

java.lang.Object
  extended by com.amazonaws.services.rds.model.ReservedDBInstancesOffering

public class ReservedDBInstancesOffering
extends Object

This data type is used as a response element in the DescribeReservedDBInstancesOfferings action.


Constructor Summary
ReservedDBInstancesOffering()
          Default constructor for a new ReservedDBInstancesOffering object.
 
Method Summary
 boolean equals(Object obj)
           
 String getCurrencyCode()
          The currency code for the reserved DB Instance offering.
 String getDBInstanceClass()
          The DB instance class for the reserved DB Instance.
 Integer getDuration()
          The duration of the offering in seconds.
 Double getFixedPrice()
          The fixed price charged for this offering.
 Boolean getMultiAZ()
          Indicates if the offering applies to Multi-AZ deployments.
 String getProductDescription()
          The database engine used by the offering.
 String getReservedDBInstancesOfferingId()
          The offering identifier.
 Double getUsagePrice()
          The hourly price charged for this offering.
 int hashCode()
           
 Boolean isMultiAZ()
          Indicates if the offering applies to Multi-AZ deployments.
 void setCurrencyCode(String currencyCode)
          The currency code for the reserved DB Instance offering.
 void setDBInstanceClass(String dBInstanceClass)
          The DB instance class for the reserved DB Instance.
 void setDuration(Integer duration)
          The duration of the offering in seconds.
 void setFixedPrice(Double fixedPrice)
          The fixed price charged for this offering.
 void setMultiAZ(Boolean multiAZ)
          Indicates if the offering applies to Multi-AZ deployments.
 void setProductDescription(String productDescription)
          The database engine used by the offering.
 void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          The offering identifier.
 void setUsagePrice(Double usagePrice)
          The hourly price charged for this offering.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReservedDBInstancesOffering withCurrencyCode(String currencyCode)
          The currency code for the reserved DB Instance offering.
 ReservedDBInstancesOffering withDBInstanceClass(String dBInstanceClass)
          The DB instance class for the reserved DB Instance.
 ReservedDBInstancesOffering withDuration(Integer duration)
          The duration of the offering in seconds.
 ReservedDBInstancesOffering withFixedPrice(Double fixedPrice)
          The fixed price charged for this offering.
 ReservedDBInstancesOffering withMultiAZ(Boolean multiAZ)
          Indicates if the offering applies to Multi-AZ deployments.
 ReservedDBInstancesOffering withProductDescription(String productDescription)
          The database engine used by the offering.
 ReservedDBInstancesOffering withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          The offering identifier.
 ReservedDBInstancesOffering withUsagePrice(Double usagePrice)
          The hourly price charged for this offering.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservedDBInstancesOffering

public ReservedDBInstancesOffering()
Default constructor for a new ReservedDBInstancesOffering object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getReservedDBInstancesOfferingId

public String getReservedDBInstancesOfferingId()
The offering identifier.

Returns:
The offering identifier.

setReservedDBInstancesOfferingId

public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.

Parameters:
reservedDBInstancesOfferingId - The offering identifier.

withReservedDBInstancesOfferingId

public ReservedDBInstancesOffering withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.

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

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

getDBInstanceClass

public String getDBInstanceClass()
The DB instance class for the reserved DB Instance.

Returns:
The DB instance class for the reserved DB Instance.

setDBInstanceClass

public void setDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB Instance.

Parameters:
dBInstanceClass - The DB instance class for the reserved DB Instance.

withDBInstanceClass

public ReservedDBInstancesOffering withDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB Instance.

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

Parameters:
dBInstanceClass - The DB instance class for the reserved DB Instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

public Integer getDuration()
The duration of the offering in seconds.

Returns:
The duration of the offering in seconds.

setDuration

public void setDuration(Integer duration)
The duration of the offering in seconds.

Parameters:
duration - The duration of the offering in seconds.

withDuration

public ReservedDBInstancesOffering withDuration(Integer duration)
The duration of the offering in seconds.

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

Parameters:
duration - The duration of the offering in seconds.
Returns:
A reference to this updated object so that method calls can be chained together.

getFixedPrice

public Double getFixedPrice()
The fixed price charged for this offering.

Returns:
The fixed price charged for this offering.

setFixedPrice

public void setFixedPrice(Double fixedPrice)
The fixed price charged for this offering.

Parameters:
fixedPrice - The fixed price charged for this offering.

withFixedPrice

public ReservedDBInstancesOffering withFixedPrice(Double fixedPrice)
The fixed price charged for this offering.

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

Parameters:
fixedPrice - The fixed price charged for this offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getUsagePrice

public Double getUsagePrice()
The hourly price charged for this offering.

Returns:
The hourly price charged for this offering.

setUsagePrice

public void setUsagePrice(Double usagePrice)
The hourly price charged for this offering.

Parameters:
usagePrice - The hourly price charged for this offering.

withUsagePrice

public ReservedDBInstancesOffering withUsagePrice(Double usagePrice)
The hourly price charged for this offering.

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

Parameters:
usagePrice - The hourly price charged for this offering.
Returns:
A reference to this updated object so that method calls can be chained together.

getCurrencyCode

public String getCurrencyCode()
The currency code for the reserved DB Instance offering.

Returns:
The currency code for the reserved DB Instance offering.

setCurrencyCode

public void setCurrencyCode(String currencyCode)
The currency code for the reserved DB Instance offering.

Parameters:
currencyCode - The currency code for the reserved DB Instance offering.

withCurrencyCode

public ReservedDBInstancesOffering withCurrencyCode(String currencyCode)
The currency code for the reserved DB Instance offering.

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

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

getProductDescription

public String getProductDescription()
The database engine used by the offering.

Returns:
The database engine used by the offering.

setProductDescription

public void setProductDescription(String productDescription)
The database engine used by the offering.

Parameters:
productDescription - The database engine used by the offering.

withProductDescription

public ReservedDBInstancesOffering withProductDescription(String productDescription)
The database engine used by the offering.

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

Parameters:
productDescription - The database engine used by the offering.
Returns:
A reference to this updated object so that method calls can be chained together.

isMultiAZ

public Boolean isMultiAZ()
Indicates if the offering applies to Multi-AZ deployments.

Returns:
Indicates if the offering applies to Multi-AZ deployments.

setMultiAZ

public void setMultiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments.

Parameters:
multiAZ - Indicates if the offering applies to Multi-AZ deployments.

withMultiAZ

public ReservedDBInstancesOffering withMultiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments.

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

Parameters:
multiAZ - Indicates if the offering applies to Multi-AZ deployments.
Returns:
A reference to this updated object so that method calls can be chained together.

getMultiAZ

public Boolean getMultiAZ()
Indicates if the offering applies to Multi-AZ deployments.

Returns:
Indicates if the offering applies to Multi-AZ deployments.

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.