Interface LimitType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LimitType.Builder,,LimitType> SdkBuilder<LimitType.Builder,,LimitType> SdkPojo
- Enclosing class:
- LimitType
@Mutable
@NotThreadSafe
public static interface LimitType.Builder
extends SdkPojo, CopyableBuilder<LimitType.Builder,LimitType>
-
Method Summary
Modifier and TypeMethodDescriptionfreeLimitValue(Integer freeLimitValue) The default (free) limit value, in requests per second (RPS).default LimitType.BuilderlimitDefinition(Consumer<LimitDefinitionType.Builder> limitDefinition) The definition that identifies this limit, including the class and attributes.limitDefinition(LimitDefinitionType limitDefinition) The definition that identifies this limit, including the class and attributes.provisionedLimitValue(Integer provisionedLimitValue) The provisioned limit value, in requests per second (RPS).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
-
limitDefinition
The definition that identifies this limit, including the class and attributes.
- Parameters:
limitDefinition- The definition that identifies this limit, including the class and attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitDefinition
The definition that identifies this limit, including the class and attributes.
This is a convenience method that creates an instance of theLimitDefinitionType.Builderavoiding the need to create one manually viaLimitDefinitionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimitDefinition(LimitDefinitionType).- Parameters:
limitDefinition- a consumer that will call methods onLimitDefinitionType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisionedLimitValue
The provisioned limit value, in requests per second (RPS). This is the rate that Amazon Cognito currently enforces for your account.
- Parameters:
provisionedLimitValue- The provisioned limit value, in requests per second (RPS). This is the rate that Amazon Cognito currently enforces for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeLimitValue
The default (free) limit value, in requests per second (RPS). This is the rate included at no additional cost.
- Parameters:
freeLimitValue- The default (free) limit value, in requests per second (RPS). This is the rate included at no additional cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-