public static interface ReservedElasticsearchInstance.Builder extends SdkPojo, CopyableBuilder<ReservedElasticsearchInstance.Builder,ReservedElasticsearchInstance>
Modifier and Type | Method and Description |
---|---|
ReservedElasticsearchInstance.Builder |
currencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance.Builder |
duration(Integer duration)
The duration, in seconds, for which the Elasticsearch instance is reserved.
|
ReservedElasticsearchInstance.Builder |
elasticsearchInstanceCount(Integer elasticsearchInstanceCount)
The number of Elasticsearch instances that have been reserved.
|
ReservedElasticsearchInstance.Builder |
elasticsearchInstanceType(ESPartitionInstanceType elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstance.Builder |
elasticsearchInstanceType(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.
|
ReservedElasticsearchInstance.Builder |
fixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance.Builder |
paymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance.Builder |
paymentOption(String paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
|
ReservedElasticsearchInstance.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstance.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstance.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The charge to your account regardless of whether you are creating any domains using the instance offering.
|
ReservedElasticsearchInstance.Builder |
reservationName(String reservationName)
The customer-specified identifier to track this reservation.
|
ReservedElasticsearchInstance.Builder |
reservedElasticsearchInstanceId(String reservedElasticsearchInstanceId)
The unique identifier for the reservation.
|
ReservedElasticsearchInstance.Builder |
reservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The offering identifier.
|
ReservedElasticsearchInstance.Builder |
startTime(Instant startTime)
The time the reservation started.
|
ReservedElasticsearchInstance.Builder |
state(String state)
The state of the reserved Elasticsearch instance.
|
ReservedElasticsearchInstance.Builder |
usagePrice(Double usagePrice)
The rate you are charged for each hour for the domain that is using this reserved instance.
|
copy
applyMutation, build
ReservedElasticsearchInstance.Builder reservationName(String reservationName)
The customer-specified identifier to track this reservation.
reservationName
- The customer-specified identifier to track this reservation.ReservedElasticsearchInstance.Builder reservedElasticsearchInstanceId(String reservedElasticsearchInstanceId)
The unique identifier for the reservation.
reservedElasticsearchInstanceId
- The unique identifier for the reservation.ReservedElasticsearchInstance.Builder reservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId)
The offering identifier.
reservedElasticsearchInstanceOfferingId
- The offering identifier.ReservedElasticsearchInstance.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
ReservedElasticsearchInstance.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
ReservedElasticsearchInstance.Builder startTime(Instant startTime)
The time the reservation started.
startTime
- The time the reservation started.ReservedElasticsearchInstance.Builder duration(Integer duration)
The duration, in seconds, for which the Elasticsearch instance is reserved.
duration
- The duration, in seconds, for which the Elasticsearch instance is reserved.ReservedElasticsearchInstance.Builder fixedPrice(Double fixedPrice)
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
fixedPrice
- The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance
offering.ReservedElasticsearchInstance.Builder usagePrice(Double usagePrice)
The rate you are charged for each hour for the domain that is using this reserved instance.
usagePrice
- The rate you are charged for each hour for the domain that is using this reserved instance.ReservedElasticsearchInstance.Builder currencyCode(String currencyCode)
The currency code for the reserved Elasticsearch instance offering.
currencyCode
- The currency code for the reserved Elasticsearch instance offering.ReservedElasticsearchInstance.Builder elasticsearchInstanceCount(Integer elasticsearchInstanceCount)
The number of Elasticsearch instances that have been reserved.
elasticsearchInstanceCount
- The number of Elasticsearch instances that have been reserved.ReservedElasticsearchInstance.Builder state(String state)
The state of the reserved Elasticsearch instance.
state
- The state of the reserved Elasticsearch instance.ReservedElasticsearchInstance.Builder paymentOption(String paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
paymentOption
- The payment option as defined in the reserved Elasticsearch instance offering.ReservedElasticsearchInstancePaymentOption
,
ReservedElasticsearchInstancePaymentOption
ReservedElasticsearchInstance.Builder paymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.
paymentOption
- The payment option as defined in the reserved Elasticsearch instance offering.ReservedElasticsearchInstancePaymentOption
,
ReservedElasticsearchInstancePaymentOption
ReservedElasticsearchInstance.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.ReservedElasticsearchInstance.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.ReservedElasticsearchInstance.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.