Interface ReservedElasticsearchInstance.Builder

  • Method Details

    • 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:
    • 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

      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

      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:
    • 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

      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

      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 the RecurringCharge.Builder avoiding the need to create one manually via RecurringCharge.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recurringCharges(List<RecurringCharge>).

      Parameters:
      recurringCharges - a consumer that will call methods on RecurringCharge.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: