|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.rds.model.ReservedDBInstance
public class ReservedDBInstance
This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions.
Constructor Summary | |
---|---|
ReservedDBInstance()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCurrencyCode()
The currency code for the reserved DB Instance. |
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 |
getOfferingType()
The offering type of this reserved DB Instance. |
String |
getProductDescription()
The description of the reserved DB Instance. |
List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this 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. |
int |
hashCode()
|
Boolean |
isMultiAZ()
Indicates if the reservation applies to Multi-AZ deployments. |
void |
setCurrencyCode(String currencyCode)
The currency code for the reserved DB Instance. |
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 |
setOfferingType(String offeringType)
The offering type of this reserved DB Instance. |
void |
setProductDescription(String productDescription)
The description of the reserved DB Instance. |
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this 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 |
withCurrencyCode(String currencyCode)
The currency code for the reserved DB Instance. |
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 |
withOfferingType(String offeringType)
The offering type of this reserved DB Instance. |
ReservedDBInstance |
withProductDescription(String productDescription)
The description of the reserved DB Instance. |
ReservedDBInstance |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB Instance. |
ReservedDBInstance |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this 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 |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedDBInstance()
Method Detail |
---|
public String getReservedDBInstanceId()
public void setReservedDBInstanceId(String reservedDBInstanceId)
reservedDBInstanceId
- The unique identifier for the reservation.public ReservedDBInstance withReservedDBInstanceId(String reservedDBInstanceId)
Returns a reference to this object so that method calls can be chained together.
reservedDBInstanceId
- The unique identifier for the reservation.
public String getReservedDBInstancesOfferingId()
public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
reservedDBInstancesOfferingId
- The offering identifier.public ReservedDBInstance withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedDBInstancesOfferingId
- The offering identifier.
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- The DB instance class for the reserved DB Instance.public ReservedDBInstance withDBInstanceClass(String dBInstanceClass)
Returns a reference to this object so that method calls can be chained together.
dBInstanceClass
- The DB instance class for the reserved DB Instance.
public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The time the reservation started.public ReservedDBInstance withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The time the reservation started.
public Integer getDuration()
public void setDuration(Integer duration)
duration
- The duration of the reservation in seconds.public ReservedDBInstance withDuration(Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration
- The duration of the reservation in seconds.
public Double getFixedPrice()
public void setFixedPrice(Double fixedPrice)
fixedPrice
- The fixed price charged for this reserved DB Instance.public ReservedDBInstance withFixedPrice(Double fixedPrice)
Returns a reference to this object so that method calls can be chained together.
fixedPrice
- The fixed price charged for this reserved DB Instance.
public Double getUsagePrice()
public void setUsagePrice(Double usagePrice)
usagePrice
- The hourly price charged for this reserved DB Instance.public ReservedDBInstance withUsagePrice(Double usagePrice)
Returns a reference to this object so that method calls can be chained together.
usagePrice
- The hourly price charged for this reserved DB Instance.
public String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode
- The currency code for the reserved DB Instance.public ReservedDBInstance withCurrencyCode(String currencyCode)
Returns a reference to this object so that method calls can be chained together.
currencyCode
- The currency code for the reserved DB Instance.
public Integer getDBInstanceCount()
public void setDBInstanceCount(Integer dBInstanceCount)
dBInstanceCount
- The number of reserved DB Instances.public ReservedDBInstance withDBInstanceCount(Integer dBInstanceCount)
Returns a reference to this object so that method calls can be chained together.
dBInstanceCount
- The number of reserved DB Instances.
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The description of the reserved DB Instance.public ReservedDBInstance withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
- The description of the reserved DB Instance.
public String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The offering type of this reserved DB Instance.public ReservedDBInstance withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The offering type of this reserved DB Instance.
public Boolean isMultiAZ()
public void setMultiAZ(Boolean multiAZ)
multiAZ
- Indicates if the reservation applies to Multi-AZ deployments.public ReservedDBInstance withMultiAZ(Boolean multiAZ)
Returns a reference to this object so that method calls can be chained together.
multiAZ
- Indicates if the reservation applies to Multi-AZ deployments.
public Boolean getMultiAZ()
public String getState()
public void setState(String state)
state
- The state of the reserved DB Instance.public ReservedDBInstance withState(String state)
Returns a reference to this object so that method calls can be chained together.
state
- The state of the reserved DB Instance.
public List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
recurringCharges
- The recurring price charged to run this reserved DB Instance.public ReservedDBInstance withRecurringCharges(RecurringCharge... recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The recurring price charged to run this reserved DB Instance.
public ReservedDBInstance withRecurringCharges(Collection<RecurringCharge> recurringCharges)
Returns a reference to this object so that method calls can be chained together.
recurringCharges
- The recurring price charged to run this reserved DB Instance.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |