@Stability(value=Stable) public static final class ThrottleSettings.Builder extends Object implements software.amazon.jsii.Builder<ThrottleSettings>
ThrottleSettings| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ThrottleSettings |
build()
Builds the configured instance.
|
ThrottleSettings.Builder |
burstLimit(Number burstLimit)
Sets the value of
ThrottleSettings.getBurstLimit() |
ThrottleSettings.Builder |
rateLimit(Number rateLimit)
Sets the value of
ThrottleSettings.getRateLimit() |
@Stability(value=Stable) public ThrottleSettings.Builder burstLimit(Number burstLimit)
ThrottleSettings.getBurstLimit()burstLimit - The maximum API request rate limit over a time ranging from one to a few seconds.this@Stability(value=Stable) public ThrottleSettings.Builder rateLimit(Number rateLimit)
ThrottleSettings.getRateLimit()rateLimit - The API request steady-state rate limit (average requests per second over an extended period of time).this@Stability(value=Stable) public ThrottleSettings build()
build in interface software.amazon.jsii.Builder<ThrottleSettings>ThrottleSettingsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.