Interface QuotaSettings.Builder

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

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

    • limit

      The target maximum number of requests that can be made in a given time period.

      Parameters:
      limit - The target maximum number of requests that can be made in a given time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offset

      The number of requests subtracted from the given limit in the initial time period.

      Parameters:
      offset - The number of requests subtracted from the given limit in the initial time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • period

      QuotaSettings.Builder period(String period)

      The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

      Parameters:
      period - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

      Parameters:
      period - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: