Interface UpdateGatewayRateLimitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateGatewayRateLimitRequest.Builder,,UpdateGatewayRateLimitRequest> SdkBuilder<UpdateGatewayRateLimitRequest.Builder,,UpdateGatewayRateLimitRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGatewayRateLimitRequest
@Mutable
@NotThreadSafe
public static interface UpdateGatewayRateLimitRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateGatewayRateLimitRequest.Builder,UpdateGatewayRateLimitRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Optional human-readable description for this limit.entries(Collection<LimitEntry> entries) Updated rule entries.entries(Consumer<LimitEntry.Builder>... entries) Updated rule entries.entries(LimitEntry... entries) Updated rule entries.gatewayIdentifier(String gatewayIdentifier) The unique identifier of the gateway.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rateLimitId(String rateLimitId) The unique identifier of the rate limit to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods 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
-
gatewayIdentifier
The unique identifier of the gateway.
- Parameters:
gatewayIdentifier- The unique identifier of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateLimitId
The unique identifier of the rate limit to update.
- Parameters:
rateLimitId- The unique identifier of the rate limit to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Optional human-readable description for this limit.
- Parameters:
description- Optional human-readable description for this limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Updated rule entries. key and dimensionKeys are immutable and cannot be changed.
- Parameters:
entries- Updated rule entries. key and dimensionKeys are immutable and cannot be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Updated rule entries. key and dimensionKeys are immutable and cannot be changed.
- Parameters:
entries- Updated rule entries. key and dimensionKeys are immutable and cannot be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
Updated rule entries. key and dimensionKeys are immutable and cannot be changed.
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:
-
overrideConfiguration
UpdateGatewayRateLimitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateGatewayRateLimitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-