Interface RateConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RateConfig.Builder,,RateConfig> SdkBuilder<RateConfig.Builder,,RateConfig> SdkPojo
- Enclosing class:
RateConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe time period for the rate limit.The time period for the rate limit.The rate value for the limit.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
The time period for the rate limit. Valid values:
-
second—Measures the rate limit over a one-second window. -
minute—Measures the rate limit over a one-minute window.
- Parameters:
period- The time period for the rate limit. Valid values:-
second—Measures the rate limit over a one-second window. -
minute—Measures the rate limit over a one-minute window.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
period
The time period for the rate limit. Valid values:
-
second—Measures the rate limit over a one-second window. -
minute—Measures the rate limit over a one-minute window.
- Parameters:
period- The time period for the rate limit. Valid values:-
second—Measures the rate limit over a one-second window. -
minute—Measures the rate limit over a one-minute window.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-