Interface RateConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RateConfig.Builder,,RateConfig> SdkBuilder<RateConfig.Builder,,RateConfig> SdkPojo
- Enclosing class:
RateConfig
@Mutable
@NotThreadSafe
public static interface RateConfig.Builder
extends SdkPojo, CopyableBuilder<RateConfig.Builder,RateConfig>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Period property for this object.Sets the value of the Period property for this object.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
Sets the value of the Period property for this object.- Parameters:
period- The new value for the Period property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
period
Sets the value of the Period property for this object.- Parameters:
period- The new value for the Period property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-