Interface ReservedInstance.Builder

    • Method Detail

      • reservationName

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

        ReservedInstance.Builder reservedInstanceId​(String reservedInstanceId)

        The unique identifier for the reservation.

        Parameters:
        reservedInstanceId - The unique identifier for the reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • billingSubscriptionId

        ReservedInstance.Builder billingSubscriptionId​(Long billingSubscriptionId)

        The unique identifier of the billing subscription.

        Parameters:
        billingSubscriptionId - The unique identifier of the billing subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservedInstanceOfferingId

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

        ReservedInstance.Builder startTime​(Instant startTime)

        The date and time when the reservation was purchased.

        Parameters:
        startTime - The date and time when the reservation was purchased.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • duration

        ReservedInstance.Builder duration​(Integer duration)

        The duration, in seconds, for which the OpenSearch instance is reserved.

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

        ReservedInstance.Builder fixedPrice​(Double fixedPrice)

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

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

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

        ReservedInstance.Builder currencyCode​(String currencyCode)

        The currency code for the offering.

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

        ReservedInstance.Builder instanceCount​(Integer instanceCount)

        The number of OpenSearch instances that have been reserved.

        Parameters:
        instanceCount - The number of OpenSearch instances that have been reserved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        ReservedInstance.Builder state​(String state)

        The state of the Reserved Instance.

        Parameters:
        state - The state of the Reserved Instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurringCharges

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

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

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

        ReservedInstance.Builder recurringCharges​(RecurringCharge... recurringCharges)

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

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