Interface ReservedInstanceOffering.Builder

    • Method Detail

      • reservedInstanceOfferingId

        ReservedInstanceOffering.Builder reservedInstanceOfferingId​(String reservedInstanceOfferingId)

        The unique identifier of the Reserved Instance offering.

        Parameters:
        reservedInstanceOfferingId - The unique identifier of the Reserved Instance offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • duration

        ReservedInstanceOffering.Builder duration​(Integer duration)

        The duration, in seconds, for which the offering will reserve the OpenSearch instance.

        Parameters:
        duration - The duration, in seconds, for which the offering will reserve the OpenSearch instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fixedPrice

        ReservedInstanceOffering.Builder fixedPrice​(Double fixedPrice)

        The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.

        Parameters:
        fixedPrice - The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usagePrice

        ReservedInstanceOffering.Builder usagePrice​(Double usagePrice)

        The hourly rate at which you're charged for the domain using this Reserved Instance.

        Parameters:
        usagePrice - The hourly rate at which you're charged for the domain using this Reserved Instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currencyCode

        ReservedInstanceOffering.Builder currencyCode​(String currencyCode)

        The currency code for the Reserved Instance offering.

        Parameters:
        currencyCode - The currency code for the Reserved Instance offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurringCharges

        ReservedInstanceOffering.Builder recurringCharges​(Collection<RecurringCharge> recurringCharges)

        The recurring charge to your account, regardless of whether you creates any domains using the offering.

        Parameters:
        recurringCharges - The recurring charge to your account, regardless of whether you creates any domains using the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurringCharges

        ReservedInstanceOffering.Builder recurringCharges​(RecurringCharge... recurringCharges)

        The recurring charge to your account, regardless of whether you creates any domains using the offering.

        Parameters:
        recurringCharges - The recurring charge to your account, regardless of whether you creates any domains using the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.