Interface ReservedElasticsearchInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedElasticsearchInstance.Builder,
,ReservedElasticsearchInstance> SdkBuilder<ReservedElasticsearchInstance.Builder,
,ReservedElasticsearchInstance> SdkPojo
- Enclosing class:
ReservedElasticsearchInstance
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The currency code for the reserved Elasticsearch instance offering.The duration, in seconds, for which the Elasticsearch instance is reserved.elasticsearchInstanceCount
(Integer elasticsearchInstanceCount) The number of Elasticsearch instances that have been reserved.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 paid to purchase the specific reserved Elasticsearch instance offering.paymentOption
(String paymentOption) The payment option as defined in the reserved Elasticsearch instance offering.paymentOption
(ReservedElasticsearchInstancePaymentOption paymentOption) The payment option as defined in the reserved Elasticsearch instance offering.recurringCharges
(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.reservationName
(String reservationName) The customer-specified identifier to track this reservation.reservedElasticsearchInstanceId
(String reservedElasticsearchInstanceId) The unique identifier for the reservation.reservedElasticsearchInstanceOfferingId
(String reservedElasticsearchInstanceOfferingId) The offering identifier.The time the reservation started.The state of the reserved Elasticsearch instance.usagePrice
(Double usagePrice) The rate you are charged for each hour for the domain that is 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
-
reservationName
The customer-specified identifier to track this reservation.
- Parameters:
reservationName
- The customer-specified identifier to track this reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedElasticsearchInstanceId
ReservedElasticsearchInstance.Builder reservedElasticsearchInstanceId(String reservedElasticsearchInstanceId) The unique identifier for the reservation.
- Parameters:
reservedElasticsearchInstanceId
- The unique identifier for the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedElasticsearchInstanceOfferingId
ReservedElasticsearchInstance.Builder reservedElasticsearchInstanceOfferingId(String reservedElasticsearchInstanceOfferingId) The offering identifier.
- Parameters:
reservedElasticsearchInstanceOfferingId
- The offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
ReservedElasticsearchInstance.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:
-
startTime
The time the reservation started.
- Parameters:
startTime
- The time the reservation started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The duration, in seconds, for which the Elasticsearch instance is reserved.
- Parameters:
duration
- The duration, in seconds, for which the Elasticsearch instance is reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixedPrice
The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.
- Parameters:
fixedPrice
- The upfront fixed charge you will paid 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 for the domain that is using this reserved instance.
- Parameters:
usagePrice
- The rate you are charged for each hour for the domain that is 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 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.
-
elasticsearchInstanceCount
ReservedElasticsearchInstance.Builder elasticsearchInstanceCount(Integer elasticsearchInstanceCount) The number of Elasticsearch instances that have been reserved.
- Parameters:
elasticsearchInstanceCount
- The number of Elasticsearch instances that have been reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the reserved Elasticsearch instance.
- Parameters:
state
- The state of the reserved Elasticsearch instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentOption
The payment option as defined in the reserved Elasticsearch instance offering.
- Parameters:
paymentOption
- The payment option as defined in the reserved Elasticsearch instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentOption
ReservedElasticsearchInstance.Builder paymentOption(ReservedElasticsearchInstancePaymentOption paymentOption) The payment option as defined in the reserved Elasticsearch instance offering.
- Parameters:
paymentOption
- The payment option as defined in the reserved Elasticsearch instance offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recurringCharges
ReservedElasticsearchInstance.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
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 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:
-