@Stability(value=Stable) public static final class QuotaSettings.Builder extends Object implements software.amazon.jsii.Builder<QuotaSettings>
QuotaSettings| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
QuotaSettings |
build()
Builds the configured instance.
|
QuotaSettings.Builder |
limit(Number limit)
Sets the value of
QuotaSettings.getLimit() |
QuotaSettings.Builder |
offset(Number offset)
Sets the value of
QuotaSettings.getOffset() |
QuotaSettings.Builder |
period(Period period)
Sets the value of
QuotaSettings.getPeriod() |
@Stability(value=Stable) public QuotaSettings.Builder limit(Number limit)
QuotaSettings.getLimit()limit - The maximum number of requests that users can make within the specified time period.this@Stability(value=Stable) public QuotaSettings.Builder offset(Number offset)
QuotaSettings.getOffset()offset - For the initial time period, the number of requests to subtract from the specified limit.this@Stability(value=Stable) public QuotaSettings.Builder period(Period period)
QuotaSettings.getPeriod()period - The time period for which the maximum limit of requests applies.this@Stability(value=Stable) public QuotaSettings build()
build in interface software.amazon.jsii.Builder<QuotaSettings>QuotaSettingsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.