public class ReservedDBInstancesOffering extends Object implements Serializable
This data type is used as a response element in the DescribeReservedDBInstancesOfferings action.
Constructor and Description |
---|
ReservedDBInstancesOffering()
Default constructor for a new ReservedDBInstancesOffering object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ReservedDBInstancesOffering()
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()
Copyright © 2016. All rights reserved.