Class CfnGatewayRateLimitMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayRateLimitMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRateLimitMixinProps>
- Enclosing interface:
CfnGatewayRateLimitMixinProps
@Stability(Stable)
public static final class CfnGatewayRateLimitMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRateLimitMixinProps>
A builder for
CfnGatewayRateLimitMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnGatewayRateLimitMixinProps.getDescription()dimensionKeys(List<String> dimensionKeys) Sets the value ofCfnGatewayRateLimitMixinProps.getDimensionKeys()Sets the value ofCfnGatewayRateLimitMixinProps.getEntries()entries(IResolvable entries) Sets the value ofCfnGatewayRateLimitMixinProps.getEntries()gatewayIdentifier(String gatewayIdentifier) Sets the value ofCfnGatewayRateLimitMixinProps.getGatewayIdentifier()rateLimitId(String rateLimitId) Sets the value ofCfnGatewayRateLimitMixinProps.getRateLimitId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnGatewayRateLimitMixinProps.getDescription()- Parameters:
description- Optional human-readable description for this limit.- Returns:
this
-
dimensionKeys
@Stability(Stable) public CfnGatewayRateLimitMixinProps.Builder dimensionKeys(List<String> dimensionKeys) Sets the value ofCfnGatewayRateLimitMixinProps.getDimensionKeys()- Parameters:
dimensionKeys- Ordered list of dimension names defining the scope of this limit. Unique per gateway — no two limits can share the same dimensionKeys.- Returns:
this
-
entries
Sets the value ofCfnGatewayRateLimitMixinProps.getEntries()- Parameters:
entries- Rule entries mapping dimension values to rate configurations.- Returns:
this
-
entries
@Stability(Stable) public CfnGatewayRateLimitMixinProps.Builder entries(List<? extends Object> entries) Sets the value ofCfnGatewayRateLimitMixinProps.getEntries()- Parameters:
entries- Rule entries mapping dimension values to rate configurations.- Returns:
this
-
gatewayIdentifier
@Stability(Stable) public CfnGatewayRateLimitMixinProps.Builder gatewayIdentifier(String gatewayIdentifier) Sets the value ofCfnGatewayRateLimitMixinProps.getGatewayIdentifier()- Parameters:
gatewayIdentifier- the value to be set.- Returns:
this
-
rateLimitId
Sets the value ofCfnGatewayRateLimitMixinProps.getRateLimitId()- Parameters:
rateLimitId- Limit identifier. Optional on Create (system-generates if not provided by customer). Always present in responses.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRateLimitMixinProps>- Returns:
- a new instance of
CfnGatewayRateLimitMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-