public class ReservedDBInstancesOffering
extends java.lang.Object
implements java.io.Serializable
This data type is used as a response element in the DescribeReservedDBInstancesOfferings action.
| コンストラクタと説明 |
|---|
ReservedDBInstancesOffering()
Default constructor for a new ReservedDBInstancesOffering object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 |
getOfferingType()
The offering type.
|
java.lang.String |
getProductDescription()
The database engine used by the offering.
|
java.util.List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved DB Instance.
|
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 |
setOfferingType(java.lang.String offeringType)
The offering type.
|
void |
setProductDescription(java.lang.String productDescription)
The database engine used by the offering.
|
void |
setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB Instance.
|
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 |
withOfferingType(java.lang.String offeringType)
The offering type.
|
ReservedDBInstancesOffering |
withProductDescription(java.lang.String productDescription)
The database engine used by the offering.
|
ReservedDBInstancesOffering |
withRecurringCharges(java.util.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(java.lang.String reservedDBInstancesOfferingId)
The offering identifier.
|
ReservedDBInstancesOffering |
withUsagePrice(java.lang.Double usagePrice)
The hourly price charged for this offering.
|
public ReservedDBInstancesOffering()
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.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType - The offering type.public ReservedDBInstancesOffering withOfferingType(java.lang.String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType - The offering type.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.util.List<RecurringCharge> getRecurringCharges()
public void setRecurringCharges(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object