public static interface QuotaSettings.Builder extends SdkPojo, CopyableBuilder<QuotaSettings.Builder,QuotaSettings>
| Modifier and Type | Method and Description |
|---|---|
QuotaSettings.Builder |
limit(Integer limit)
The maximum number of requests that can be made in a given time period.
|
QuotaSettings.Builder |
offset(Integer offset)
The day that a time period starts.
|
QuotaSettings.Builder |
period(QuotaPeriodType period)
The time period in which the limit applies.
|
QuotaSettings.Builder |
period(String period)
The time period in which the limit applies.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildQuotaSettings.Builder limit(Integer limit)
The maximum number of requests that can be made in a given time period.
limit - The maximum number of requests that can be made in a given time period.QuotaSettings.Builder offset(Integer offset)
The day that a time period starts. For example, with a time period of WEEK, an offset of
0 starts on Sunday, and an offset of 1 starts on Monday.
offset - The day that a time period starts. For example, with a time period of WEEK, an offset of
0 starts on Sunday, and an offset of 1 starts on Monday.QuotaSettings.Builder period(String period)
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
period - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".QuotaPeriodType,
QuotaPeriodTypeQuotaSettings.Builder period(QuotaPeriodType period)
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
period - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".QuotaPeriodType,
QuotaPeriodTypeCopyright © 2021. All rights reserved.