public static interface ReservedElasticsearchInstanceOffering.Builder extends SdkPojo, CopyableBuilder<ReservedElasticsearchInstanceOffering.Builder,ReservedElasticsearchInstanceOffering>
Modifier and Type | Method and Description |
---|---|
ReservedElasticsearchInstanceOffering.Builder |
currencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstanceOffering.Builder |
duration(Integer duration)
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
|
ReservedElasticsearchInstanceOffering.Builder |
elasticsearchInstanceType(ESPartitionInstanceType elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstanceOffering.Builder |
elasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstanceOffering.Builder |
fixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstanceOffering.Builder |
paymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
Payment option for the reserved Elasticsearch instance offering
|
ReservedElasticsearchInstanceOffering.Builder |
paymentOption(String paymentOption)
Payment option for the reserved Elasticsearch instance offering
|
ReservedElasticsearchInstanceOffering.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstanceOffering.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstanceOffering.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstanceOffering.Builder |
reservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The Elasticsearch reserved instance offering identifier.
|
ReservedElasticsearchInstanceOffering.Builder |
usagePrice(Double usagePrice)
The rate you are charged for each hour the domain that is using the offering is running.
|
copy
applyMutation, build
ReservedElasticsearchInstanceOffering.Builder reservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The Elasticsearch reserved instance offering identifier.
reservedElasticsearchInstanceOfferingId
- The Elasticsearch reserved instance offering identifier.ReservedElasticsearchInstanceOffering.Builder elasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
elasticsearchInstanceType
- The Elasticsearch instance type offered by the reserved instance offering.ESPartitionInstanceType
,
ESPartitionInstanceType
ReservedElasticsearchInstanceOffering.Builder elasticsearchInstanceType(ESPartitionInstanceType elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
elasticsearchInstanceType
- The Elasticsearch instance type offered by the reserved instance offering.ESPartitionInstanceType
,
ESPartitionInstanceType
ReservedElasticsearchInstanceOffering.Builder duration(Integer duration)
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
duration
- The duration, in seconds, for which the offering will reserve the Elasticsearch instance.ReservedElasticsearchInstanceOffering.Builder fixedPrice(Double fixedPrice)
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
fixedPrice
- The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance
offering.ReservedElasticsearchInstanceOffering.Builder usagePrice(Double usagePrice)
The rate you are charged for each hour the domain that is using the offering is running.
usagePrice
- The rate you are charged for each hour the domain that is using the offering is running.ReservedElasticsearchInstanceOffering.Builder currencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
currencyCode
- The currency code for the reserved Elasticsearch instance offering.ReservedElasticsearchInstanceOffering.Builder paymentOption(String paymentOption)
Payment option for the reserved Elasticsearch instance offering
paymentOption
- Payment option for the reserved Elasticsearch instance offeringReservedElasticsearchInstancePaymentOption
,
ReservedElasticsearchInstancePaymentOption
ReservedElasticsearchInstanceOffering.Builder paymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
Payment option for the reserved Elasticsearch instance offering
paymentOption
- Payment option for the reserved Elasticsearch instance offeringReservedElasticsearchInstancePaymentOption
,
ReservedElasticsearchInstancePaymentOption
ReservedElasticsearchInstanceOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
recurringCharges
- The charge to your account regardless of whether you are creating any domains using the instance
offering.ReservedElasticsearchInstanceOffering.Builder recurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
recurringCharges
- The charge to your account regardless of whether you are creating any domains using the instance
offering.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 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.