Interface BatchPutLimitEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutLimitEntry.Builder,,BatchPutLimitEntry> SdkBuilder<BatchPutLimitEntry.Builder,,BatchPutLimitEntry> SdkPojo
- Enclosing class:
BatchPutLimitEntry
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) An optional human-readable description for this rate limit.dimensionKeys(String... dimensionKeys) The ordered list of dimension key names that define the scope of this rate limit.dimensionKeys(Collection<String> dimensionKeys) The ordered list of dimension key names that define the scope of this rate limit.entries(Collection<LimitEntry> entries) The list of rule entries that map dimension values to rate configurations.entries(Consumer<LimitEntry.Builder>... entries) The list of rule entries that map dimension values to rate configurations.entries(LimitEntry... entries) The list of rule entries that map dimension values to rate configurations.rateLimitId(String rateLimitId) The unique identifier of the rate 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
-
rateLimitId
The unique identifier of the rate limit. If provided, the service uses it for upsert matching against existing rate limits.
- Parameters:
rateLimitId- The unique identifier of the rate limit. If provided, the service uses it for upsert matching against existing rate limits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional human-readable description for this rate limit. If not provided, the rate limit is created without a description.
- Parameters:
description- An optional human-readable description for this rate limit. If not provided, the rate limit is created without a description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionKeys
The ordered list of dimension key names that define the scope of this rate limit.
- Parameters:
dimensionKeys- The ordered list of dimension key names that define the scope of this rate limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionKeys
The ordered list of dimension key names that define the scope of this rate limit.
- Parameters:
dimensionKeys- The ordered list of dimension key names that define the scope of this rate limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The list of rule entries that map dimension values to rate configurations.
- Parameters:
entries- The list of rule entries that map dimension values to rate configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The list of rule entries that map dimension values to rate configurations.
- Parameters:
entries- The list of rule entries that map dimension values to rate configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
The list of rule entries that map dimension values to rate configurations.
This is a convenience method that creates an instance of theLimitEntry.Builderavoiding the need to create one manually viaLimitEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<LimitEntry>).- Parameters:
entries- a consumer that will call methods onLimitEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-