Interface BatchPutGatewayRateLimitsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<BatchPutGatewayRateLimitsResponse.Builder,,BatchPutGatewayRateLimitsResponse> SdkBuilder<BatchPutGatewayRateLimitsResponse.Builder,,BatchPutGatewayRateLimitsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchPutGatewayRateLimitsResponse
@Mutable
@NotThreadSafe
public static interface BatchPutGatewayRateLimitsResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<BatchPutGatewayRateLimitsResponse.Builder,BatchPutGatewayRateLimitsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrateLimits(Collection<GatewayRateLimitDetail> rateLimits) The resulting set of rate limits after the batch operation.rateLimits(Consumer<GatewayRateLimitDetail.Builder>... rateLimits) The resulting set of rate limits after the batch operation.rateLimits(GatewayRateLimitDetail... rateLimits) The resulting set of rate limits after the batch operation.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
rateLimits
The resulting set of rate limits after the batch operation.
- Parameters:
rateLimits- The resulting set of rate limits after the batch operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateLimits
The resulting set of rate limits after the batch operation.
- Parameters:
rateLimits- The resulting set of rate limits after the batch operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateLimits
BatchPutGatewayRateLimitsResponse.Builder rateLimits(Consumer<GatewayRateLimitDetail.Builder>... rateLimits) The resulting set of rate limits after the batch operation.
This is a convenience method that creates an instance of theGatewayRateLimitDetail.Builderavoiding the need to create one manually viaGatewayRateLimitDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torateLimits(List<GatewayRateLimitDetail>).- Parameters:
rateLimits- a consumer that will call methods onGatewayRateLimitDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-