Interface ReservedElasticsearchInstanceOffering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedElasticsearchInstanceOffering.Builder,
,ReservedElasticsearchInstanceOffering> SdkBuilder<ReservedElasticsearchInstanceOffering.Builder,
,ReservedElasticsearchInstanceOffering> SdkPojo
- Enclosing class:
ReservedElasticsearchInstanceOffering
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency code for the reserved Elasticsearch instance offering.The duration, in seconds, for which the offering will reserve the Elasticsearch instance.elasticsearchInstanceType
(String elasticsearchInstanceType) The Elasticsearch instance type offered by the reserved instance offering.elasticsearchInstanceType
(ESPartitionInstanceType elasticsearchInstanceType) The Elasticsearch instance type offered by the reserved instance offering.fixedPrice
(Double fixedPrice) The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.paymentOption
(String paymentOption) Payment option for the reserved Elasticsearch instance offeringpaymentOption
(ReservedElasticsearchInstancePaymentOption paymentOption) Payment option for the reserved Elasticsearch instance offeringrecurringCharges
(Collection<RecurringCharge> recurringCharges) The charge to your account regardless of whether you are creating any domains using the instance offering.recurringCharges
(Consumer<RecurringCharge.Builder>... recurringCharges) The charge to your account regardless of whether you are creating any domains using the instance offering.recurringCharges
(RecurringCharge... recurringCharges) The charge to your account regardless of whether you are creating any domains using the instance offering.reservedElasticsearchInstanceOfferingId
(String reservedElasticsearchInstanceOfferingId) The Elasticsearch reserved instance offering identifier.usagePrice
(Double usagePrice) The rate you are charged for each hour the domain that is using the offering is running.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
-
reservedElasticsearchInstanceOfferingId
ReservedElasticsearchInstanceOffering.Builder reservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId) The Elasticsearch reserved instance offering identifier.
- Parameters:
reservedElasticsearchInstanceOfferingId
- The Elasticsearch reserved instance offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchInstanceType
ReservedElasticsearchInstanceOffering.Builder elasticsearchInstanceType(String elasticsearchInstanceType) The Elasticsearch instance type offered by the reserved instance offering.
- Parameters:
elasticsearchInstanceType
- The Elasticsearch 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:
-
elasticsearchInstanceType
ReservedElasticsearchInstanceOffering.Builder elasticsearchInstanceType(ESPartitionInstanceType elasticsearchInstanceType) The Elasticsearch instance type offered by the reserved instance offering.
- Parameters:
elasticsearchInstanceType
- The Elasticsearch 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 Elasticsearch instance.
- Parameters:
duration
- The duration, in seconds, for which the offering will reserve the Elasticsearch 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 Elasticsearch instance offering.
- Parameters:
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usagePrice
The rate you are charged for each hour the domain that is using the offering is running.
- Parameters:
usagePrice
- The rate you are charged for each hour the domain that is using the offering is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code for the reserved Elasticsearch instance offering.
- Parameters:
currencyCode
- The currency code for the reserved Elasticsearch instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
Payment option for the reserved Elasticsearch instance offering
- Parameters:
paymentOption
- Payment option for the reserved Elasticsearch instance offering- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
ReservedElasticsearchInstanceOffering.Builder paymentOption(ReservedElasticsearchInstancePaymentOption paymentOption) Payment option for the reserved Elasticsearch instance offering
- Parameters:
paymentOption
- Payment option for the reserved Elasticsearch instance offering- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recurringCharges
ReservedElasticsearchInstanceOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges) The charge to your account regardless of whether you are creating any domains using the instance offering.
- Parameters:
recurringCharges
- The charge to your account regardless of whether you are creating any domains using the instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
The charge to your account regardless of whether you are creating any domains using the instance offering.
- Parameters:
recurringCharges
- The charge to your account regardless of whether you are creating any domains using the instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringCharges
ReservedElasticsearchInstanceOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges) The charge to your account regardless of whether you are creating any domains using the instance 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:
-