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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaSettings.Builderlimit(Integer limit)The target maximum number of requests that can be made in a given time period.QuotaSettings.Builderoffset(Integer offset)The number of requests subtracted from the given limit in the initial time period.QuotaSettings.Builderperiod(String period)The time period in which the limit applies.QuotaSettings.Builderperiod(QuotaPeriodType period)The time period in which the limit applies.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
limit
QuotaSettings.Builder limit(Integer 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
QuotaSettings.Builder offset(Integer 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:
QuotaPeriodType,QuotaPeriodType
-
period
QuotaSettings.Builder period(QuotaPeriodType 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:
QuotaPeriodType,QuotaPeriodType
-
-