@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedDBInstancesOffering extends Object implements Serializable, Cloneable
This data type is used as a response element in the DescribeReservedDBInstancesOfferings action.
Constructor and Description |
---|
ReservedDBInstancesOffering() |
Modifier and Type | Method and Description |
---|---|
ReservedDBInstancesOffering |
clone() |
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 void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.
reservedDBInstancesOfferingId
- The offering identifier.public String getReservedDBInstancesOfferingId()
The offering identifier.
public ReservedDBInstancesOffering withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.
reservedDBInstancesOfferingId
- The offering identifier.public void setDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB instance.
dBInstanceClass
- The DB instance class for the reserved DB instance.public String getDBInstanceClass()
The DB instance class for the reserved DB instance.
public ReservedDBInstancesOffering withDBInstanceClass(String dBInstanceClass)
The DB instance class for the reserved DB instance.
dBInstanceClass
- The DB instance class for the reserved DB instance.public void setDuration(Integer duration)
The duration of the offering in seconds.
duration
- The duration of the offering in seconds.public Integer getDuration()
The duration of the offering in seconds.
public ReservedDBInstancesOffering withDuration(Integer duration)
The duration of the offering in seconds.
duration
- The duration of the offering in seconds.public void setFixedPrice(Double fixedPrice)
The fixed price charged for this offering.
fixedPrice
- The fixed price charged for this offering.public Double getFixedPrice()
The fixed price charged for this offering.
public ReservedDBInstancesOffering withFixedPrice(Double fixedPrice)
The fixed price charged for this offering.
fixedPrice
- The fixed price charged for this offering.public void setUsagePrice(Double usagePrice)
The hourly price charged for this offering.
usagePrice
- The hourly price charged for this offering.public Double getUsagePrice()
The hourly price charged for this offering.
public ReservedDBInstancesOffering withUsagePrice(Double usagePrice)
The hourly price charged for this offering.
usagePrice
- The hourly price charged for this offering.public void setCurrencyCode(String currencyCode)
The currency code for the reserved DB instance offering.
currencyCode
- The currency code for the reserved DB instance offering.public String getCurrencyCode()
The currency code for the reserved DB instance offering.
public ReservedDBInstancesOffering withCurrencyCode(String currencyCode)
The currency code for the reserved DB instance offering.
currencyCode
- The currency code for the reserved DB instance offering.public void setProductDescription(String productDescription)
The database engine used by the offering.
productDescription
- The database engine used by the offering.public String getProductDescription()
The database engine used by the offering.
public ReservedDBInstancesOffering withProductDescription(String productDescription)
The database engine used by the offering.
productDescription
- The database engine used by the offering.public void setOfferingType(String offeringType)
The offering type.
offeringType
- The offering type.public String getOfferingType()
The offering type.
public ReservedDBInstancesOffering withOfferingType(String offeringType)
The offering type.
offeringType
- The offering type.public void setMultiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments.
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.public Boolean getMultiAZ()
Indicates if the offering applies to Multi-AZ deployments.
public ReservedDBInstancesOffering withMultiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments.
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.public Boolean isMultiAZ()
Indicates if the offering applies to Multi-AZ deployments.
public List<RecurringCharge> getRecurringCharges()
The recurring price charged to run this reserved DB instance.
public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB instance.
recurringCharges
- The recurring price charged to run this reserved DB instance.public ReservedDBInstancesOffering withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved DB instance.
NOTE: This method appends the values to the existing list (if any). Use
setRecurringCharges(java.util.Collection)
or withRecurringCharges(java.util.Collection)
if you
want to override the existing values.
recurringCharges
- The recurring price charged to run this reserved DB instance.public ReservedDBInstancesOffering withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB instance.
recurringCharges
- The recurring price charged to run this reserved DB instance.public String toString()
toString
in class Object
Object.toString()
public ReservedDBInstancesOffering clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.