Interface ReservedInstanceOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedInstanceOffering.Builder,
,ReservedInstanceOffering> SdkBuilder<ReservedInstanceOffering.Builder,
,ReservedInstanceOffering> SdkPojo
- Enclosing class:
ReservedInstanceOffering
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency code for the Reserved Instance offering.The duration, in seconds, for which the offering will reserve the OpenSearch instance.fixedPrice
(Double fixedPrice) The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.instanceType
(String instanceType) The OpenSearch instance type offered by the Reserved Instance offering.instanceType
(OpenSearchPartitionInstanceType instanceType) The OpenSearch instance type offered by the Reserved Instance offering.paymentOption
(String paymentOption) Payment option for the Reserved Instance offeringpaymentOption
(ReservedInstancePaymentOption paymentOption) Payment option for the Reserved Instance offeringrecurringCharges
(Collection<RecurringCharge> recurringCharges) The recurring charge to your account, regardless of whether you creates any domains using the offering.recurringCharges
(Consumer<RecurringCharge.Builder>... recurringCharges) The recurring charge to your account, regardless of whether you creates any domains using the offering.recurringCharges
(RecurringCharge... recurringCharges) The recurring charge to your account, regardless of whether you creates any domains using the offering.reservedInstanceOfferingId
(String reservedInstanceOfferingId) The unique identifier of the Reserved Instance offering.usagePrice
(Double usagePrice) The hourly rate at which you're charged for the domain using this Reserved Instance.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, sdkFields
-
Method Details
-
reservedInstanceOfferingId
The unique identifier of the Reserved Instance offering.
- Parameters:
reservedInstanceOfferingId
- The unique identifier of the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The OpenSearch instance type offered by the Reserved Instance offering.
- Parameters:
instanceType
- The OpenSearch instance type offered by the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The OpenSearch instance type offered by the Reserved Instance offering.
- Parameters:
instanceType
- The OpenSearch instance type offered by the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
duration
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
- Parameters:
duration
- The duration, in seconds, for which the offering will reserve the OpenSearch instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedPrice
The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.
- Parameters:
fixedPrice
- The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usagePrice
The hourly rate at which you're charged for the domain using this Reserved Instance.
- Parameters:
usagePrice
- The hourly rate at which you're charged for the domain using this Reserved Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code for the Reserved Instance offering.
- Parameters:
currencyCode
- The currency code for the Reserved Instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
Payment option for the Reserved Instance offering
- Parameters:
paymentOption
- Payment option for the Reserved Instance offering- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
Payment option for the Reserved Instance offering
- Parameters:
paymentOption
- Payment option for the Reserved Instance offering- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recurringCharges
The recurring charge to your account, regardless of whether you creates any domains using the offering.
- Parameters:
recurringCharges
- The recurring charge to your account, regardless of whether you creates any domains using the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The recurring charge to your account, regardless of whether you creates any domains using the offering.
- Parameters:
recurringCharges
- The recurring charge to your account, regardless of whether you creates any domains using the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
ReservedInstanceOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges) The recurring charge to your account, regardless of whether you creates any domains using the offering.
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:
-