Interface ReservedDBInstancesOffering.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReservedDBInstancesOffering.Builder,ReservedDBInstancesOffering>,SdkBuilder<ReservedDBInstancesOffering.Builder,ReservedDBInstancesOffering>,SdkPojo
- Enclosing class:
- ReservedDBInstancesOffering
public static interface ReservedDBInstancesOffering.Builder extends SdkPojo, CopyableBuilder<ReservedDBInstancesOffering.Builder,ReservedDBInstancesOffering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReservedDBInstancesOffering.BuildercurrencyCode(String currencyCode)The currency code for the reserved DB instance offering.ReservedDBInstancesOffering.BuilderdbInstanceClass(String dbInstanceClass)The DB instance class for the reserved DB instance.ReservedDBInstancesOffering.Builderduration(Integer duration)The duration of the offering in seconds.ReservedDBInstancesOffering.BuilderfixedPrice(Double fixedPrice)The fixed price charged for this offering.ReservedDBInstancesOffering.BuildermultiAZ(Boolean multiAZ)Indicates whether the offering applies to Multi-AZ deployments.ReservedDBInstancesOffering.BuilderofferingType(String offeringType)The offering type.ReservedDBInstancesOffering.BuilderproductDescription(String productDescription)The database engine used by the offering.ReservedDBInstancesOffering.BuilderrecurringCharges(Collection<RecurringCharge> recurringCharges)The recurring price charged to run this reserved DB instance.ReservedDBInstancesOffering.BuilderrecurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)The recurring price charged to run this reserved DB instance.ReservedDBInstancesOffering.BuilderrecurringCharges(RecurringCharge... recurringCharges)The recurring price charged to run this reserved DB instance.ReservedDBInstancesOffering.BuilderreservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)The offering identifier.ReservedDBInstancesOffering.BuilderusagePrice(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 Detail
-
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
ReservedDBInstancesOffering.Builder dbInstanceClass(String 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
ReservedDBInstancesOffering.Builder duration(Integer 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
ReservedDBInstancesOffering.Builder fixedPrice(Double 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
ReservedDBInstancesOffering.Builder usagePrice(Double 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
ReservedDBInstancesOffering.Builder currencyCode(String 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
ReservedDBInstancesOffering.Builder productDescription(String 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
ReservedDBInstancesOffering.Builder offeringType(String 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
ReservedDBInstancesOffering.Builder multiAZ(Boolean 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
ReservedDBInstancesOffering.Builder recurringCharges(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.
-
recurringCharges
ReservedDBInstancesOffering.Builder recurringCharges(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.
-
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.Builderavoiding the need to create one manually viaRecurringCharge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recurringCharges(List.) - 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:
#recurringCharges(java.util.Collection)
-
-