Interface ThrottleSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ThrottleSettings.Builder,ThrottleSettings>, SdkBuilder<ThrottleSettings.Builder,ThrottleSettings>, SdkPojo
Enclosing class:
ThrottleSettings

public static interface ThrottleSettings.Builder extends SdkPojo, CopyableBuilder<ThrottleSettings.Builder,ThrottleSettings>
  • Method Details

    • burstLimit

      ThrottleSettings.Builder burstLimit(Integer burstLimit)

      The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.

      Parameters:
      burstLimit - The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rateLimit

      ThrottleSettings.Builder rateLimit(Double rateLimit)

      The API target request rate limit.

      Parameters:
      rateLimit - The API target request rate limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.