Interface ReservedElasticsearchInstanceOffering.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedElasticsearchInstanceOffering.Builder,ReservedElasticsearchInstanceOffering>
,SdkBuilder<ReservedElasticsearchInstanceOffering.Builder,ReservedElasticsearchInstanceOffering>
,SdkPojo
- Enclosing class:
- ReservedElasticsearchInstanceOffering
public static interface ReservedElasticsearchInstanceOffering.Builder extends SdkPojo, CopyableBuilder<ReservedElasticsearchInstanceOffering.Builder,ReservedElasticsearchInstanceOffering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.ReservedElasticsearchInstanceOffering.Builder
elasticsearchInstanceType(ESPartitionInstanceType 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(String paymentOption)
Payment option for the reserved Elasticsearch instance offeringReservedElasticsearchInstanceOffering.Builder
paymentOption(ReservedElasticsearchInstancePaymentOption paymentOption)
Payment option for the reserved Elasticsearch instance offeringReservedElasticsearchInstanceOffering.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.-
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 Detail
-
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:
ESPartitionInstanceType
,ESPartitionInstanceType
-
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:
ESPartitionInstanceType
,ESPartitionInstanceType
-
duration
ReservedElasticsearchInstanceOffering.Builder duration(Integer 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
ReservedElasticsearchInstanceOffering.Builder fixedPrice(Double 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
ReservedElasticsearchInstanceOffering.Builder usagePrice(Double 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
ReservedElasticsearchInstanceOffering.Builder currencyCode(String 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
ReservedElasticsearchInstanceOffering.Builder paymentOption(String 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:
ReservedElasticsearchInstancePaymentOption
,ReservedElasticsearchInstancePaymentOption
-
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:
ReservedElasticsearchInstancePaymentOption
,ReservedElasticsearchInstancePaymentOption
-
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
ReservedElasticsearchInstanceOffering.Builder recurringCharges(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
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 to#recurringCharges(List
.) - 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:
#recurringCharges(java.util.Collection
)
-
-