Interface RateLimiterStatus.Builder

  • Method Details

    • maxAllowed

      RateLimiterStatus.Builder maxAllowed(Integer maxAllowed)

      The maximum number of rate limiters allowed on the connection.

      Parameters:
      maxAllowed - The maximum number of rate limiters allowed on the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inUse

      The number of rate limiters currently in use on the connection.

      Parameters:
      inUse - The number of rate limiters currently in use on the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remaining

      RateLimiterStatus.Builder remaining(Integer remaining)

      The number of rate limiters remaining (available) on the connection.

      Parameters:
      remaining - The number of rate limiters remaining (available) on the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalBandwidth

      RateLimiterStatus.Builder totalBandwidth(String totalBandwidth)

      The total bandwidth allocated across all rate limiters on the connection.

      Parameters:
      totalBandwidth - The total bandwidth allocated across all rate limiters on the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.