Interface ReservedElasticsearchInstanceOffering.Builder

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