public static interface ReservedDBInstancesOffering.Builder extends CopyableBuilder<ReservedDBInstancesOffering.Builder,ReservedDBInstancesOffering>
Modifier and Type | Method and Description |
---|---|
ReservedDBInstancesOffering.Builder |
currencyCode(String currencyCode)
The currency code for the reserved DB instance offering.
|
ReservedDBInstancesOffering.Builder |
dbInstanceClass(String dbInstanceClass)
The DB instance class for the reserved DB instance.
|
ReservedDBInstancesOffering.Builder |
duration(Integer duration)
The duration of the offering in seconds.
|
ReservedDBInstancesOffering.Builder |
fixedPrice(Double fixedPrice)
The fixed price charged for this offering.
|
ReservedDBInstancesOffering.Builder |
multiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments.
|
ReservedDBInstancesOffering.Builder |
offeringType(String offeringType)
The offering type.
|
ReservedDBInstancesOffering.Builder |
productDescription(String productDescription)
The database engine used by the offering.
|
ReservedDBInstancesOffering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB instance.
|
ReservedDBInstancesOffering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring price charged to run this reserved DB instance.
|
ReservedDBInstancesOffering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved DB instance.
|
ReservedDBInstancesOffering.Builder |
reservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.
|
ReservedDBInstancesOffering.Builder |
usagePrice(Double usagePrice)
The hourly price charged for this offering.
|
copy
applyMutation, build
ReservedDBInstancesOffering.Builder reservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.
reservedDBInstancesOfferingId
- The offering identifier.ReservedDBInstancesOffering.Builder dbInstanceClass(String dbInstanceClass)
The DB instance class for the reserved DB instance.
dbInstanceClass
- The DB instance class for the reserved DB instance.ReservedDBInstancesOffering.Builder duration(Integer duration)
The duration of the offering in seconds.
duration
- The duration of the offering in seconds.ReservedDBInstancesOffering.Builder fixedPrice(Double fixedPrice)
The fixed price charged for this offering.
fixedPrice
- The fixed price charged for this offering.ReservedDBInstancesOffering.Builder usagePrice(Double usagePrice)
The hourly price charged for this offering.
usagePrice
- The hourly price charged for this offering.ReservedDBInstancesOffering.Builder currencyCode(String currencyCode)
The currency code for the reserved DB instance offering.
currencyCode
- The currency code for the reserved DB instance offering.ReservedDBInstancesOffering.Builder productDescription(String productDescription)
The database engine used by the offering.
productDescription
- The database engine used by the offering.ReservedDBInstancesOffering.Builder offeringType(String offeringType)
The offering type.
offeringType
- The offering type.ReservedDBInstancesOffering.Builder multiAZ(Boolean multiAZ)
Indicates if the offering applies to Multi-AZ deployments.
multiAZ
- Indicates if the offering applies to Multi-AZ deployments.ReservedDBInstancesOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB instance.
recurringCharges
- The recurring price charged to run this reserved DB instance.ReservedDBInstancesOffering.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved DB instance.
recurringCharges
- The recurring price charged to run this reserved DB instance.ReservedDBInstancesOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring price charged to run this reserved DB instance.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #recurringCharges(List)
.recurringCharges
- a consumer that will call methods on List.Builder
#recurringCharges(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.