Interface ReservedDBInstancesOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedDBInstancesOffering.Builder,
,ReservedDBInstancesOffering> SdkBuilder<ReservedDBInstancesOffering.Builder,
,ReservedDBInstancesOffering> SdkPojo
- Enclosing class:
ReservedDBInstancesOffering
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency code for the reserved DB instance offering.dbInstanceClass
(String dbInstanceClass) The DB instance class for the reserved DB instance.The duration of the offering in seconds.fixedPrice
(Double fixedPrice) The fixed price charged for this offering.Indicates whether the offering applies to Multi-AZ deployments.offeringType
(String offeringType) The offering type.productDescription
(String productDescription) The database engine used by the offering.recurringCharges
(Collection<RecurringCharge> recurringCharges) The recurring price charged to run this reserved DB instance.recurringCharges
(Consumer<RecurringCharge.Builder>... recurringCharges) The recurring price charged to run this reserved DB instance.recurringCharges
(RecurringCharge... recurringCharges) The recurring price charged to run this reserved DB instance.reservedDBInstancesOfferingId
(String reservedDBInstancesOfferingId) The offering identifier.usagePrice
(Double usagePrice) The hourly price charged for this offering.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
reservedDBInstancesOfferingId
ReservedDBInstancesOffering.Builder reservedDBInstancesOfferingId(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.
-
dbInstanceClass
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.
-
duration
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.
-
fixedPrice
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.
-
usagePrice
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.
-
currencyCode
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.
-
productDescription
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.
-
offeringType
The offering type.
- Parameters:
offeringType
- The offering type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAZ
Indicates whether the offering applies to Multi-AZ deployments.
- Parameters:
multiAZ
- Indicates whether the offering applies to Multi-AZ deployments.- Returns:
- 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.
- 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.
-
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.
-
recurringCharges
ReservedDBInstancesOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges) The recurring price charged to run this reserved DB instance.
This is a convenience method that creates an instance of theRecurringCharge.Builder
avoiding the need to create one manually viaRecurringCharge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecurringCharges(List<RecurringCharge>)
.- Parameters:
recurringCharges
- a consumer that will call methods onRecurringCharge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-