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()
          The DB instance class for the reserved DB Instance.
 Integer getDBInstanceCount()
          The number of reserved DB Instances.
 Integer getDuration()
          The duration of the reservation in seconds.
 Double getFixedPrice()
          The fixed price charged for this reserved DB Instance.
 Boolean getMultiAZ()
          Indicates if the reservation applies to Multi-AZ deployments.
 String getProductDescription()
          The description of the reserved DB Instance.
 String getReservedDBInstanceId()
          The unique identifier for the reservation.
 String getReservedDBInstancesOfferingId()
          The offering identifier.
 Date getStartTime()
          The time the reservation started.
 String getState()
          The state of the reserved DB Instance.
 Double getUsagePrice()
          The hourly price charged for this reserved DB Instance.
 Boolean isMultiAZ()
          Indicates if the reservation applies to Multi-AZ deployments.
 void setDBInstanceClass(String dBInstanceClass)
          The DB instance class for the reserved DB Instance.
 void setDBInstanceCount(Integer dBInstanceCount)
          The number of reserved DB Instances.
 void setDuration(Integer duration)
          The duration of the reservation in seconds.
 void setFixedPrice(Double fixedPrice)
          The fixed price charged for this reserved DB Instance.
 void setMultiAZ(Boolean multiAZ)
          Indicates if the reservation applies to Multi-AZ deployments.
 void setProductDescription(String productDescription)
          The description of the reserved DB Instance.
 void setReservedDBInstanceId(String reservedDBInstanceId)
          The unique identifier for the reservation.
 void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          The offering identifier.
 void setStartTime(Date startTime)
          The time the reservation started.
 void setState(String state)
          The state of the reserved DB Instance.
 void setUsagePrice(Double usagePrice)
          The hourly price charged for this reserved DB Instance.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReservedDBInstance withDBInstanceClass(String dBInstanceClass)
          The DB instance class for the reserved DB Instance.
 ReservedDBInstance withDBInstanceCount(Integer dBInstanceCount)
          The number of reserved DB Instances.
 ReservedDBInstance withDuration(Integer duration)
          The duration of the reservation in seconds.
 ReservedDBInstance withFixedPrice(Double fixedPrice)
          The fixed price charged for this reserved DB Instance.
 ReservedDBInstance withMultiAZ(Boolean multiAZ)
          Indicates if the reservation applies to Multi-AZ deployments.
 ReservedDBInstance withProductDescription(String productDescription)
          The description of the reserved DB Instance.
 ReservedDBInstance withReservedDBInstanceId(String reservedDBInstanceId)
          The unique identifier for the reservation.
 ReservedDBInstance withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
          The offering identifier.
 ReservedDBInstance withStartTime(Date startTime)
          The time the reservation started.
 ReservedDBInstance withState(String state)
          The state of the reserved DB Instance.
 ReservedDBInstance withUsagePrice(Double usagePrice)
          The hourly price charged for this reserved DB Instance.
 
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()
The unique identifier for the reservation.

Returns:
The unique identifier for the reservation.

setReservedDBInstanceId

public void setReservedDBInstanceId(String reservedDBInstanceId)
The unique identifier for the reservation.

Parameters:
reservedDBInstanceId - The unique identifier for the reservation.

withReservedDBInstanceId

public ReservedDBInstance withReservedDBInstanceId(String reservedDBInstanceId)
The unique identifier for the reservation.

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

Parameters:
reservedDBInstanceId - The unique identifier for the reservation.
Returns:
A reference to this updated object so that method calls can be chained together.

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

getStartTime

public Date getStartTime()
The time the reservation started.

Returns:
The time the reservation started.

setStartTime

public void setStartTime(Date startTime)
The time the reservation started.

Parameters:
startTime - The time the reservation started.

withStartTime

public ReservedDBInstance withStartTime(Date startTime)
The time the reservation started.

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

Parameters:
startTime - The time the reservation started.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

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

Returns:
The duration of the reservation in seconds.

setDuration

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

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

withDuration

public ReservedDBInstance withDuration(Integer duration)
The duration of the reservation in seconds.

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

Parameters:
duration - The duration of the reservation 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 reserved DB Instance.

Returns:
The fixed price charged for this reserved DB Instance.

setFixedPrice

public void setFixedPrice(Double fixedPrice)
The fixed price charged for this reserved DB Instance.

Parameters:
fixedPrice - The fixed price charged for this reserved DB Instance.

withFixedPrice

public ReservedDBInstance withFixedPrice(Double fixedPrice)
The fixed price charged for this reserved DB Instance.

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

Parameters:
fixedPrice - The fixed price charged for this reserved DB Instance.
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 reserved DB Instance.

Returns:
The hourly price charged for this reserved DB Instance.

setUsagePrice

public void setUsagePrice(Double usagePrice)
The hourly price charged for this reserved DB Instance.

Parameters:
usagePrice - The hourly price charged for this reserved DB Instance.

withUsagePrice

public ReservedDBInstance withUsagePrice(Double usagePrice)
The hourly price charged for this reserved DB Instance.

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

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

getDBInstanceCount

public Integer getDBInstanceCount()
The number of reserved DB Instances.

Returns:
The number of reserved DB Instances.

setDBInstanceCount

public void setDBInstanceCount(Integer dBInstanceCount)
The number of reserved DB Instances.

Parameters:
dBInstanceCount - The number of reserved DB Instances.

withDBInstanceCount

public ReservedDBInstance withDBInstanceCount(Integer dBInstanceCount)
The number of reserved DB Instances.

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

Parameters:
dBInstanceCount - The number of reserved DB Instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getProductDescription

public String getProductDescription()
The description of the reserved DB Instance.

Returns:
The description of the reserved DB Instance.

setProductDescription

public void setProductDescription(String productDescription)
The description of the reserved DB Instance.

Parameters:
productDescription - The description of the reserved DB Instance.

withProductDescription

public ReservedDBInstance withProductDescription(String productDescription)
The description of the reserved DB Instance.

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

Parameters:
productDescription - The description of the reserved DB Instance.
Returns:
A reference to this updated object so that method calls can be chained together.

isMultiAZ

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

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

setMultiAZ

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

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

withMultiAZ

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

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

Parameters:
multiAZ - Indicates if the reservation 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 reservation applies to Multi-AZ deployments.

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

getState

public String getState()
The state of the reserved DB Instance.

Returns:
The state of the reserved DB Instance.

setState

public void setState(String state)
The state of the reserved DB Instance.

Parameters:
state - The state of the reserved DB Instance.

withState

public ReservedDBInstance withState(String state)
The state of the reserved DB Instance.

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

Parameters:
state - The state of the reserved DB Instance.
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.