Interface CustomTier.Builder

  • Method Details

    • beginRangeInclusive

      CustomTier.Builder beginRangeInclusive(Double beginRangeInclusive)

      The inclusive start of the usage range that this tier applies to.

      Parameters:
      beginRangeInclusive - The inclusive start of the usage range that this tier applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endRangeExclusive

      CustomTier.Builder endRangeExclusive(Double endRangeExclusive)

      The exclusive end of the usage range that this tier applies to. If you don't specify a value, this tier applies to all usage that is greater than or equal to BeginRangeInclusive.

      Parameters:
      endRangeExclusive - The exclusive end of the usage range that this tier applies to. If you don't specify a value, this tier applies to all usage that is greater than or equal to BeginRangeInclusive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rateValue

      CustomTier.Builder rateValue(Double rateValue)

      The rate that's applied to the usage that falls within this tier.

      Parameters:
      rateValue - The rate that's applied to the usage that falls within this tier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.