|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.rds.model.ReservedDBInstancesOffering
public class ReservedDBInstancesOffering
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(java.lang.Object obj)
|
java.lang.String |
getCurrencyCode()
The currency code for the reserved DB Instance offering. |
java.lang.String |
getDBInstanceClass()
The DB instance class for the reserved DB Instance. |
java.lang.Integer |
getDuration()
The duration of the offering in seconds. |
java.lang.Double |
getFixedPrice()
The fixed price charged for this offering. |
java.lang.Boolean |
getMultiAZ()
Indicates if the offering applies to Multi-AZ deployments. |
java.lang.String |
getProductDescription()
The database engine used by the offering. |
java.lang.String |
getReservedDBInstancesOfferingId()
The offering identifier. |
java.lang.Double |
getUsagePrice()
The hourly price charged for this offering. |
int |
hashCode()
|
java.lang.Boolean |
isMultiAZ()
Indicates if the offering applies to Multi-AZ deployments. |
void |
setCurrencyCode(java.lang.String currencyCode)
The currency code for the reserved DB Instance offering. |
void |
setDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the reserved DB Instance. |
void |
setDuration(java.lang.Integer duration)
The duration of the offering in seconds. |
void |
setFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this offering. |
void |
setMultiAZ(java.lang.Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments. |
void |
setProductDescription(java.lang.String productDescription)
The database engine used by the offering. |
void |
setReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
The offering identifier. |
void |
setUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this offering. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedDBInstancesOffering |
withCurrencyCode(java.lang.String currencyCode)
The currency code for the reserved DB Instance offering. |
ReservedDBInstancesOffering |
withDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the reserved DB Instance. |
ReservedDBInstancesOffering |
withDuration(java.lang.Integer duration)
The duration of the offering in seconds. |
ReservedDBInstancesOffering |
withFixedPrice(java.lang.Double fixedPrice)
The fixed price charged for this offering. |
ReservedDBInstancesOffering |
withMultiAZ(java.lang.Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments. |
ReservedDBInstancesOffering |
withProductDescription(java.lang.String productDescription)
The database engine used by the offering. |
ReservedDBInstancesOffering |
withReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
The offering identifier. |
ReservedDBInstancesOffering |
withUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this offering. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedDBInstancesOffering()
Method Detail |
---|
public java.lang.String getReservedDBInstancesOfferingId()
public void setReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
reservedDBInstancesOfferingId
- The offering identifier.public ReservedDBInstancesOffering withReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
Returns a reference to this object so that method calls can be chained together.
reservedDBInstancesOfferingId
- The offering identifier.
public java.lang.String getDBInstanceClass()
public void setDBInstanceClass(java.lang.String dBInstanceClass)
dBInstanceClass
- The DB instance class for the reserved DB Instance.public ReservedDBInstancesOffering withDBInstanceClass(java.lang.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 java.lang.Integer getDuration()
public void setDuration(java.lang.Integer duration)
duration
- The duration of the offering in seconds.public ReservedDBInstancesOffering withDuration(java.lang.Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration
- The duration of the offering in seconds.
public java.lang.Double getFixedPrice()
public void setFixedPrice(java.lang.Double fixedPrice)
fixedPrice
- The fixed price charged for this offering.public ReservedDBInstancesOffering withFixedPrice(java.lang.Double fixedPrice)
Returns a reference to this object so that method calls can be chained together.
fixedPrice
- The fixed price charged for this offering.
public java.lang.Double getUsagePrice()
public void setUsagePrice(java.lang.Double usagePrice)
usagePrice
- The hourly price charged for this offering.public ReservedDBInstancesOffering withUsagePrice(java.lang.Double usagePrice)
Returns a reference to this object so that method calls can be chained together.
usagePrice
- The hourly price charged for this offering.
public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode
- The currency code for the reserved DB Instance offering.public ReservedDBInstancesOffering withCurrencyCode(java.lang.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 offering.
public java.lang.String getProductDescription()
public void setProductDescription(java.lang.String productDescription)
productDescription
- The database engine used by the offering.public ReservedDBInstancesOffering withProductDescription(java.lang.String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
- The database engine used by the offering.
public java.lang.Boolean isMultiAZ()
public void setMultiAZ(java.lang.Boolean multiAZ)
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.public ReservedDBInstancesOffering withMultiAZ(java.lang.Boolean multiAZ)
Returns a reference to this object so that method calls can be chained together.
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.
public java.lang.Boolean getMultiAZ()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |