com.amazonaws.services.rds.model
Class ReservedDBInstancesOffering

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

public class ReservedDBInstancesOffering
extends Object

Reserved D B Instances Offering


Constructor Summary
ReservedDBInstancesOffering()
          Default constructor for a new ReservedDBInstancesOffering object.
 
Method Summary
 String getDBInstanceClass()
          Returns the value of the DBInstanceClass property for this object.
 Integer getDuration()
          Returns the value of the Duration property for this object.
 Double getFixedPrice()
          Returns the value of the FixedPrice property for this object.
 Boolean getMultiAZ()
          Returns the value of the MultiAZ property for this object.
 String getProductDescription()
          Returns the value of the ProductDescription property for this object.
 String getReservedDBInstancesOfferingId()
          Returns the value of the ReservedDBInstancesOfferingId property for this object.
 Double getUsagePrice()
          Returns the value of the UsagePrice property for this object.
 Boolean isMultiAZ()
          Returns the value of the MultiAZ property for this object.
 void setDBInstanceClass(String dBInstanceClass)
          Sets the value of the DBInstanceClass property for this object.
 void setDuration(Integer duration)
          Sets the value of the Duration property for this object.
 void setFixedPrice(Double fixedPrice)
          Sets the value of the FixedPrice property for this object.
 void setMultiAZ(Boolean multiAZ)
          Sets the value of the MultiAZ property for this object.
 void setProductDescription(String productDescription)
          Sets the value of the ProductDescription property for this object.
 void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          Sets the value of the ReservedDBInstancesOfferingId property for this object.
 void setUsagePrice(Double usagePrice)
          Sets the value of the UsagePrice property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReservedDBInstancesOffering withDBInstanceClass(String dBInstanceClass)
          Sets the value of the DBInstanceClass property for this object.
 ReservedDBInstancesOffering withDuration(Integer duration)
          Sets the value of the Duration property for this object.
 ReservedDBInstancesOffering withFixedPrice(Double fixedPrice)
          Sets the value of the FixedPrice property for this object.
 ReservedDBInstancesOffering withMultiAZ(Boolean multiAZ)
          Sets the value of the MultiAZ property for this object.
 ReservedDBInstancesOffering withProductDescription(String productDescription)
          Sets the value of the ProductDescription property for this object.
 ReservedDBInstancesOffering withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          Sets the value of the ReservedDBInstancesOfferingId property for this object.
 ReservedDBInstancesOffering withUsagePrice(Double usagePrice)
          Sets the value of the UsagePrice property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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()
Returns the value of the ReservedDBInstancesOfferingId property for this object.

Returns:
The value of the ReservedDBInstancesOfferingId property for this object.

setReservedDBInstancesOfferingId

public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Sets the value of the ReservedDBInstancesOfferingId property for this object.

Parameters:
reservedDBInstancesOfferingId - The new value for the ReservedDBInstancesOfferingId property for this object.

withReservedDBInstancesOfferingId

public ReservedDBInstancesOffering withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Sets the value of the ReservedDBInstancesOfferingId property for this object.

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

Parameters:
reservedDBInstancesOfferingId - The new value for the ReservedDBInstancesOfferingId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDBInstanceClass

public String getDBInstanceClass()
Returns the value of the DBInstanceClass property for this object.

Returns:
The value of the DBInstanceClass property for this object.

setDBInstanceClass

public void setDBInstanceClass(String dBInstanceClass)
Sets the value of the DBInstanceClass property for this object.

Parameters:
dBInstanceClass - The new value for the DBInstanceClass property for this object.

withDBInstanceClass

public ReservedDBInstancesOffering withDBInstanceClass(String dBInstanceClass)
Sets the value of the DBInstanceClass property for this object.

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

Parameters:
dBInstanceClass - The new value for the DBInstanceClass property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

public Integer getDuration()
Returns the value of the Duration property for this object.

Returns:
The value of the Duration property for this object.

setDuration

public void setDuration(Integer duration)
Sets the value of the Duration property for this object.

Parameters:
duration - The new value for the Duration property for this object.

withDuration

public ReservedDBInstancesOffering withDuration(Integer duration)
Sets the value of the Duration property for this object.

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

Parameters:
duration - The new value for the Duration property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getFixedPrice

public Double getFixedPrice()
Returns the value of the FixedPrice property for this object.

Returns:
The value of the FixedPrice property for this object.

setFixedPrice

public void setFixedPrice(Double fixedPrice)
Sets the value of the FixedPrice property for this object.

Parameters:
fixedPrice - The new value for the FixedPrice property for this object.

withFixedPrice

public ReservedDBInstancesOffering withFixedPrice(Double fixedPrice)
Sets the value of the FixedPrice property for this object.

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

Parameters:
fixedPrice - The new value for the FixedPrice property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getUsagePrice

public Double getUsagePrice()
Returns the value of the UsagePrice property for this object.

Returns:
The value of the UsagePrice property for this object.

setUsagePrice

public void setUsagePrice(Double usagePrice)
Sets the value of the UsagePrice property for this object.

Parameters:
usagePrice - The new value for the UsagePrice property for this object.

withUsagePrice

public ReservedDBInstancesOffering withUsagePrice(Double usagePrice)
Sets the value of the UsagePrice property for this object.

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

Parameters:
usagePrice - The new value for the UsagePrice property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getProductDescription

public String getProductDescription()
Returns the value of the ProductDescription property for this object.

Returns:
The value of the ProductDescription property for this object.

setProductDescription

public void setProductDescription(String productDescription)
Sets the value of the ProductDescription property for this object.

Parameters:
productDescription - The new value for the ProductDescription property for this object.

withProductDescription

public ReservedDBInstancesOffering withProductDescription(String productDescription)
Sets the value of the ProductDescription property for this object.

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

Parameters:
productDescription - The new value for the ProductDescription property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isMultiAZ

public Boolean isMultiAZ()
Returns the value of the MultiAZ property for this object.

Returns:
The value of the MultiAZ property for this object.

setMultiAZ

public void setMultiAZ(Boolean multiAZ)
Sets the value of the MultiAZ property for this object.

Parameters:
multiAZ - The new value for the MultiAZ property for this object.

withMultiAZ

public ReservedDBInstancesOffering withMultiAZ(Boolean multiAZ)
Sets the value of the MultiAZ property for this object.

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

Parameters:
multiAZ - The new value for the MultiAZ property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getMultiAZ

public Boolean getMultiAZ()
Returns the value of the MultiAZ property for this object.

Returns:
The value of the MultiAZ property for this object.

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()


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