com.amazonaws.services.rds.model
Class ReservedDBInstance

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

public class ReservedDBInstance
extends Object

Reserved D B Instance


Constructor Summary
ReservedDBInstance()
           
 
Method Summary
 String getDBInstanceClass()
          Returns the value of the DBInstanceClass property for this object.
 Integer getDBInstanceCount()
          Returns the value of the DBInstanceCount 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 getReservedDBInstanceId()
          Returns the value of the ReservedDBInstanceId property for this object.
 String getReservedDBInstancesOfferingId()
          Returns the value of the ReservedDBInstancesOfferingId property for this object.
 Date getStartTime()
          Returns the value of the StartTime property for this object.
 String getState()
          Returns the value of the State 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 setDBInstanceCount(Integer dBInstanceCount)
          Sets the value of the DBInstanceCount 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 setReservedDBInstanceId(String reservedDBInstanceId)
          Sets the value of the ReservedDBInstanceId property for this object.
 void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          Sets the value of the ReservedDBInstancesOfferingId property for this object.
 void setStartTime(Date startTime)
          Sets the value of the StartTime property for this object.
 void setState(String state)
          Sets the value of the State 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.
 ReservedDBInstance withDBInstanceClass(String dBInstanceClass)
          Sets the value of the DBInstanceClass property for this object.
 ReservedDBInstance withDBInstanceCount(Integer dBInstanceCount)
          Sets the value of the DBInstanceCount property for this object.
 ReservedDBInstance withDuration(Integer duration)
          Sets the value of the Duration property for this object.
 ReservedDBInstance withFixedPrice(Double fixedPrice)
          Sets the value of the FixedPrice property for this object.
 ReservedDBInstance withMultiAZ(Boolean multiAZ)
          Sets the value of the MultiAZ property for this object.
 ReservedDBInstance withProductDescription(String productDescription)
          Sets the value of the ProductDescription property for this object.
 ReservedDBInstance withReservedDBInstanceId(String reservedDBInstanceId)
          Sets the value of the ReservedDBInstanceId property for this object.
 ReservedDBInstance withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          Sets the value of the ReservedDBInstancesOfferingId property for this object.
 ReservedDBInstance withStartTime(Date startTime)
          Sets the value of the StartTime property for this object.
 ReservedDBInstance withState(String state)
          Sets the value of the State property for this object.
 ReservedDBInstance 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

ReservedDBInstance

public ReservedDBInstance()
Method Detail

getReservedDBInstanceId

public String getReservedDBInstanceId()
Returns the value of the ReservedDBInstanceId property for this object.

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

setReservedDBInstanceId

public void setReservedDBInstanceId(String reservedDBInstanceId)
Sets the value of the ReservedDBInstanceId property for this object.

Parameters:
reservedDBInstanceId - The new value for the ReservedDBInstanceId property for this object.

withReservedDBInstanceId

public ReservedDBInstance withReservedDBInstanceId(String reservedDBInstanceId)
Sets the value of the ReservedDBInstanceId property for this object.

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

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

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 ReservedDBInstance 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 ReservedDBInstance 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.

getStartTime

public Date getStartTime()
Returns the value of the StartTime property for this object.

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

setStartTime

public void setStartTime(Date startTime)
Sets the value of the StartTime property for this object.

Parameters:
startTime - The new value for the StartTime property for this object.

withStartTime

public ReservedDBInstance withStartTime(Date startTime)
Sets the value of the StartTime property for this object.

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

Parameters:
startTime - The new value for the StartTime 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 ReservedDBInstance 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 ReservedDBInstance 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 ReservedDBInstance 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.

getDBInstanceCount

public Integer getDBInstanceCount()
Returns the value of the DBInstanceCount property for this object.

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

setDBInstanceCount

public void setDBInstanceCount(Integer dBInstanceCount)
Sets the value of the DBInstanceCount property for this object.

Parameters:
dBInstanceCount - The new value for the DBInstanceCount property for this object.

withDBInstanceCount

public ReservedDBInstance withDBInstanceCount(Integer dBInstanceCount)
Sets the value of the DBInstanceCount property for this object.

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

Parameters:
dBInstanceCount - The new value for the DBInstanceCount 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 ReservedDBInstance 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 ReservedDBInstance 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.

getState

public String getState()
Returns the value of the State property for this object.

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

setState

public void setState(String state)
Sets the value of the State property for this object.

Parameters:
state - The new value for the State property for this object.

withState

public ReservedDBInstance withState(String state)
Sets the value of the State property for this object.

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

Parameters:
state - The new value for the State property for this object.
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()


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