Interface ReservedElasticsearchInstance.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedElasticsearchInstance.Builder,ReservedElasticsearchInstance>
,SdkBuilder<ReservedElasticsearchInstance.Builder,ReservedElasticsearchInstance>
,SdkPojo
- Enclosing class:
- ReservedElasticsearchInstance
@Mutable @NotThreadSafe public static interface ReservedElasticsearchInstance.Builder extends SdkPojo, CopyableBuilder<ReservedElasticsearchInstance.Builder,ReservedElasticsearchInstance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(String elasticsearchInstanceType)
The Elasticsearch instance type offered by the reserved instance offering.ReservedElasticsearchInstance.Builder
elasticsearchInstanceType(ESPartitionInstanceType 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(String paymentOption)
The payment option as defined in the reserved Elasticsearch instance offering.ReservedElasticsearchInstance.Builder
paymentOption(ReservedElasticsearchInstancePaymentOption 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.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reservationName
ReservedElasticsearchInstance.Builder reservationName(String 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
ReservedElasticsearchInstance.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
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:
ESPartitionInstanceType
,ESPartitionInstanceType
-
startTime
ReservedElasticsearchInstance.Builder startTime(Instant 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
ReservedElasticsearchInstance.Builder duration(Integer 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
ReservedElasticsearchInstance.Builder fixedPrice(Double 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
ReservedElasticsearchInstance.Builder usagePrice(Double 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
ReservedElasticsearchInstance.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.
-
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
ReservedElasticsearchInstance.Builder state(String 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
ReservedElasticsearchInstance.Builder paymentOption(String 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:
ReservedElasticsearchInstancePaymentOption
,ReservedElasticsearchInstancePaymentOption
-
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:
ReservedElasticsearchInstancePaymentOption
,ReservedElasticsearchInstancePaymentOption
-
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
ReservedElasticsearchInstance.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
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 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
)
-
-