Class ReservedDBInstancesOffering
- All Implemented Interfaces:
Serializable
,Cloneable
This data type is used as a response element in the DescribeReservedDBInstancesOfferings action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The currency code for the reserved DB instance offering.The DB instance class for the reserved DB instance.The duration of the offering in seconds.The fixed price charged for this offering.Indicates if the offering applies to Multi-AZ deployments.The offering type.The database engine used by the offering.The recurring price charged to run this reserved DB instance.The offering identifier.The hourly price charged for this offering.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCurrencyCode
(String currencyCode) The currency code for the reserved DB instance offering.withDBInstanceClass
(String dBInstanceClass) The DB instance class for the reserved DB instance.withDuration
(Integer duration) The duration of the offering in seconds.withFixedPrice
(Double fixedPrice) The fixed price charged for this offering.withMultiAZ
(Boolean multiAZ) Indicates if the offering applies to Multi-AZ deployments.withOfferingType
(String offeringType) The offering type.withProductDescription
(String productDescription) The database engine used by the offering.withRecurringCharges
(RecurringCharge... recurringCharges) The recurring price charged to run this reserved DB instance.withRecurringCharges
(Collection<RecurringCharge> recurringCharges) The recurring price charged to run this reserved DB instance.withReservedDBInstancesOfferingId
(String reservedDBInstancesOfferingId) The offering identifier.withUsagePrice
(Double usagePrice) The hourly price charged for this offering.
-
Constructor Details
-
ReservedDBInstancesOffering
public ReservedDBInstancesOffering()
-
-
Method Details
-
setReservedDBInstancesOfferingId
The offering identifier.
- Parameters:
reservedDBInstancesOfferingId
- The offering identifier.
-
getReservedDBInstancesOfferingId
The offering identifier.
- Returns:
- The offering identifier.
-
withReservedDBInstancesOfferingId
public ReservedDBInstancesOffering withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId) The offering identifier.
- Parameters:
reservedDBInstancesOfferingId
- The offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBInstanceClass
The DB instance class for the reserved DB instance.
- Parameters:
dBInstanceClass
- The DB instance class for the reserved DB instance.
-
getDBInstanceClass
The DB instance class for the reserved DB instance.
- Returns:
- The DB instance class for the reserved DB instance.
-
withDBInstanceClass
The DB instance class for the reserved DB instance.
- Parameters:
dBInstanceClass
- The DB instance class for the reserved DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDuration
The duration of the offering in seconds.
- Parameters:
duration
- The duration of the offering in seconds.
-
getDuration
The duration of the offering in seconds.
- Returns:
- The duration of the offering in seconds.
-
withDuration
The duration of the offering in seconds.
- Parameters:
duration
- The duration of the offering in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFixedPrice
The fixed price charged for this offering.
- Parameters:
fixedPrice
- The fixed price charged for this offering.
-
getFixedPrice
The fixed price charged for this offering.
- Returns:
- The fixed price charged for this offering.
-
withFixedPrice
The fixed price charged for this offering.
- Parameters:
fixedPrice
- The fixed price charged for this offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsagePrice
The hourly price charged for this offering.
- Parameters:
usagePrice
- The hourly price charged for this offering.
-
getUsagePrice
The hourly price charged for this offering.
- Returns:
- The hourly price charged for this offering.
-
withUsagePrice
The hourly price charged for this offering.
- Parameters:
usagePrice
- The hourly price charged for this offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrencyCode
The currency code for the reserved DB instance offering.
- Parameters:
currencyCode
- The currency code for the reserved DB instance offering.
-
getCurrencyCode
The currency code for the reserved DB instance offering.
- Returns:
- The currency code for the reserved DB instance offering.
-
withCurrencyCode
The currency code for the reserved DB instance offering.
- Parameters:
currencyCode
- The currency code for the reserved DB instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProductDescription
The database engine used by the offering.
- Parameters:
productDescription
- The database engine used by the offering.
-
getProductDescription
The database engine used by the offering.
- Returns:
- The database engine used by the offering.
-
withProductDescription
The database engine used by the offering.
- Parameters:
productDescription
- The database engine used by the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOfferingType
The offering type.
- Parameters:
offeringType
- The offering type.
-
getOfferingType
The offering type.
- Returns:
- The offering type.
-
withOfferingType
The offering type.
- Parameters:
offeringType
- The offering type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMultiAZ
Indicates if the offering applies to Multi-AZ deployments.
- Parameters:
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.
-
getMultiAZ
Indicates if the offering applies to Multi-AZ deployments.
- Returns:
- Indicates if the offering applies to Multi-AZ deployments.
-
withMultiAZ
Indicates if the offering applies to Multi-AZ deployments.
- Parameters:
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMultiAZ
Indicates if the offering applies to Multi-AZ deployments.
- Returns:
- Indicates if the offering applies to Multi-AZ deployments.
-
getRecurringCharges
The recurring price charged to run this reserved DB instance.
- Returns:
- The recurring price charged to run this reserved DB instance.
-
setRecurringCharges
The recurring price charged to run this reserved DB instance.
- Parameters:
recurringCharges
- The recurring price charged to run this reserved DB instance.
-
withRecurringCharges
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)
orwithRecurringCharges(java.util.Collection)
if you want to override the existing values.- Parameters:
recurringCharges
- The recurring price charged to run this reserved DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRecurringCharges
public ReservedDBInstancesOffering withRecurringCharges(Collection<RecurringCharge> recurringCharges) The recurring price charged to run this reserved DB instance.
- Parameters:
recurringCharges
- The recurring price charged to run this reserved DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-