Interface ReservationOffering.Builder

  • Method Details

    • currencyCode

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

      The duration, in seconds, for which the reservation reserves the RPUs.

      Parameters:
      duration - The duration, in seconds, for which the reservation reserves the RPUs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hourlyCharge

      ReservationOffering.Builder hourlyCharge(Double hourlyCharge)

      The rate you are charged for each hour the reservation is active.

      Parameters:
      hourlyCharge - The rate you are charged for each hour the reservation is active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringId

      ReservationOffering.Builder offeringId(String offeringId)

      The offering identifier.

      Parameters:
      offeringId - The offering identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringType

      ReservationOffering.Builder offeringType(String offeringType)

      Determines the payment schedule for the reservation.

      Parameters:
      offeringType - Determines the payment schedule for the reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • offeringType

      ReservationOffering.Builder offeringType(OfferingType offeringType)

      Determines the payment schedule for the reservation.

      Parameters:
      offeringType - Determines the payment schedule for the reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • upfrontCharge

      ReservationOffering.Builder upfrontCharge(Double upfrontCharge)

      The up-front price you are charged for the reservation.

      Parameters:
      upfrontCharge - The up-front price you are charged for the reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.