Interface ReservedInstanceOffering.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReservedInstanceOffering.Builder,ReservedInstanceOffering>, SdkBuilder<ReservedInstanceOffering.Builder,ReservedInstanceOffering>, SdkPojo
Enclosing class:
ReservedInstanceOffering

public static interface ReservedInstanceOffering.Builder extends SdkPojo, CopyableBuilder<ReservedInstanceOffering.Builder,ReservedInstanceOffering>
  • Method Details

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

      ReservedInstanceOffering.Builder instanceType(String instanceType)

      The OpenSearch instance type offered by the Reserved Instance offering.

      Parameters:
      instanceType - The OpenSearch 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:
    • instanceType

      The OpenSearch instance type offered by the Reserved Instance offering.

      Parameters:
      instanceType - The OpenSearch 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:
    • 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.
    • paymentOption

      ReservedInstanceOffering.Builder paymentOption(String paymentOption)

      Payment option for the Reserved Instance offering

      Parameters:
      paymentOption - Payment option for the Reserved Instance offering
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • paymentOption

      Payment option for the Reserved Instance offering

      Parameters:
      paymentOption - Payment option for the Reserved Instance offering
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • recurringCharges

      ReservedInstanceOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)

      The recurring charge to your account, regardless of whether you creates any domains using the 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: