|
|||||||
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(Object obj)
|
String |
getCurrencyCode()
The currency code for the reserved DB Instance offering. |
String |
getDBInstanceClass()
The DB instance class for the reserved DB Instance. |
Integer |
getDuration()
The duration of the offering in seconds. |
Double |
getFixedPrice()
The fixed price charged for this offering. |
Boolean |
getMultiAZ()
Indicates if the offering applies to Multi-AZ deployments. |
String |
getOfferingType()
The offering type. |
String |
getProductDescription()
The database engine used by the offering. |
List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved DB Instance. |
String |
getReservedDBInstancesOfferingId()
The offering identifier. |
Double |
getUsagePrice()
The hourly price charged for this offering. |
int |
hashCode()
|
Boolean |
isMultiAZ()
Indicates if the offering applies to Multi-AZ deployments. |
void |
setCurrencyCode(String currencyCode)
The currency code for the reserved DB Instance offering. |
void |
setDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB Instance. |
void |
setDuration(Integer duration)
The duration of the offering in seconds. |
void |
setFixedPrice(Double fixedPrice)
The fixed price charged for this offering. |
void |
setMultiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments. |
void |
setOfferingType(String offeringType)
The offering type. |
void |
setProductDescription(String productDescription)
The database engine used by the offering. |
void |
setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB Instance. |
void |
setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier. |
void |
setUsagePrice(Double usagePrice)
The hourly price charged for this offering. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedDBInstancesOffering |
withCurrencyCode(String currencyCode)
The currency code for the reserved DB Instance offering. |
ReservedDBInstancesOffering |
withDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB Instance. |
ReservedDBInstancesOffering |
withDuration(Integer duration)
The duration of the offering in seconds. |
ReservedDBInstancesOffering |
withFixedPrice(Double fixedPrice)
The fixed price charged for this offering. |
ReservedDBInstancesOffering |
withMultiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments. |
ReservedDBInstancesOffering |
withOfferingType(String offeringType)
The offering type. |
ReservedDBInstancesOffering |
withProductDescription(String productDescription)
The database engine used by the offering. |
ReservedDBInstancesOffering |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB Instance. |
ReservedDBInstancesOffering |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved DB Instance. |
ReservedDBInstancesOffering |
withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier. |
ReservedDBInstancesOffering |
withUsagePrice(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 String getReservedDBInstancesOfferingId()
public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
reservedDBInstancesOfferingId
- The offering identifier.public ReservedDBInstancesOffering 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 ReservedDBInstancesOffering 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 Integer getDuration()
public void setDuration(Integer duration)
duration
- The duration of the offering in seconds.public ReservedDBInstancesOffering withDuration(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 Double getFixedPrice()
public void setFixedPrice(Double fixedPrice)
fixedPrice
- The fixed price charged for this offering.public ReservedDBInstancesOffering withFixedPrice(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 Double getUsagePrice()
public void setUsagePrice(Double usagePrice)
usagePrice
- The hourly price charged for this offering.public ReservedDBInstancesOffering withUsagePrice(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 String getCurrencyCode()
public void setCurrencyCode(String currencyCode)
currencyCode
- The currency code for the reserved DB Instance offering.public ReservedDBInstancesOffering 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 offering.
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- The database engine used by the offering.public ReservedDBInstancesOffering withProductDescription(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 String getOfferingType()
public void setOfferingType(String offeringType)
offeringType
- The offering type.public ReservedDBInstancesOffering withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The offering type.
public Boolean isMultiAZ()
public void setMultiAZ(Boolean multiAZ)
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.public ReservedDBInstancesOffering withMultiAZ(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 Boolean getMultiAZ()
public List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
recurringCharges
- The recurring price charged to run this reserved DB Instance.public ReservedDBInstancesOffering 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 ReservedDBInstancesOffering 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 |