Interface ReservedElasticsearchInstance.Builder

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