Interface RateConfig.Builder

  • Method Details

    • rate

      The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.

      Parameters:
      rate - The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • period

      RateConfig.Builder period(String period)
      Sets the value of the Period property for this object.
      Parameters:
      period - The new value for the Period property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      RateConfig.Builder period(Period period)
      Sets the value of the Period property for this object.
      Parameters:
      period - The new value for the Period property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: