public static interface ReservedInstanceOffering.Builder extends SdkPojo, CopyableBuilder<ReservedInstanceOffering.Builder,ReservedInstanceOffering>
| Modifier and Type | Method and Description |
|---|---|
ReservedInstanceOffering.Builder |
currencyCode(String currencyCode)
The currency code for the Reserved Instance offering.
|
ReservedInstanceOffering.Builder |
duration(Integer duration)
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
|
ReservedInstanceOffering.Builder |
fixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.
|
ReservedInstanceOffering.Builder |
instanceType(OpenSearchPartitionInstanceType instanceType)
The OpenSearch instance type offered by the Reserved Instance offering.
|
ReservedInstanceOffering.Builder |
instanceType(String instanceType)
The OpenSearch instance type offered by the Reserved Instance offering.
|
ReservedInstanceOffering.Builder |
paymentOption(ReservedInstancePaymentOption paymentOption)
Payment option for the Reserved Instance offering
|
ReservedInstanceOffering.Builder |
paymentOption(String paymentOption)
Payment option for the Reserved Instance offering
|
ReservedInstanceOffering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge to your account, regardless of whether you creates any domains using the offering.
|
ReservedInstanceOffering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring charge to your account, regardless of whether you creates any domains using the offering.
|
ReservedInstanceOffering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The recurring charge to your account, regardless of whether you creates any domains using the offering.
|
ReservedInstanceOffering.Builder |
reservedInstanceOfferingId(String reservedInstanceOfferingId)
The unique identifier of the Reserved Instance offering.
|
ReservedInstanceOffering.Builder |
usagePrice(Double usagePrice)
The hourly rate at which you're charged for the domain using this Reserved Instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReservedInstanceOffering.Builder reservedInstanceOfferingId(String reservedInstanceOfferingId)
The unique identifier of the Reserved Instance offering.
reservedInstanceOfferingId - The unique identifier of the Reserved Instance offering.ReservedInstanceOffering.Builder instanceType(String instanceType)
The OpenSearch instance type offered by the Reserved Instance offering.
instanceType - The OpenSearch instance type offered by the Reserved Instance offering.OpenSearchPartitionInstanceType,
OpenSearchPartitionInstanceTypeReservedInstanceOffering.Builder instanceType(OpenSearchPartitionInstanceType instanceType)
The OpenSearch instance type offered by the Reserved Instance offering.
instanceType - The OpenSearch instance type offered by the Reserved Instance offering.OpenSearchPartitionInstanceType,
OpenSearchPartitionInstanceTypeReservedInstanceOffering.Builder duration(Integer duration)
The duration, in seconds, for which the offering will reserve the OpenSearch instance.
duration - The duration, in seconds, for which the offering will reserve the OpenSearch instance.ReservedInstanceOffering.Builder fixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.
fixedPrice - The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.ReservedInstanceOffering.Builder usagePrice(Double usagePrice)
The hourly rate at which you're charged for the domain using this Reserved Instance.
usagePrice - The hourly rate at which you're charged for the domain using this Reserved Instance.ReservedInstanceOffering.Builder currencyCode(String currencyCode)
The currency code for the Reserved Instance offering.
currencyCode - The currency code for the Reserved Instance offering.ReservedInstanceOffering.Builder paymentOption(String paymentOption)
Payment option for the Reserved Instance offering
paymentOption - Payment option for the Reserved Instance offeringReservedInstancePaymentOption,
ReservedInstancePaymentOptionReservedInstanceOffering.Builder paymentOption(ReservedInstancePaymentOption paymentOption)
Payment option for the Reserved Instance offering
paymentOption - Payment option for the Reserved Instance offeringReservedInstancePaymentOption,
ReservedInstancePaymentOptionReservedInstanceOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring charge to your account, regardless of whether you creates any domains using the offering.
recurringCharges - The recurring charge to your account, regardless of whether you creates any domains using the
offering.ReservedInstanceOffering.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring charge to your account, regardless of whether you creates any domains using the offering.
recurringCharges - The recurring charge to your account, regardless of whether you creates any domains using the
offering.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 via RecurringCharge.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #recurringCharges(List.
recurringCharges - a consumer that will call methods on
RecurringCharge.Builder#recurringCharges(java.util.Collection) Copyright © 2023. All rights reserved.