Class CfnGatewayRateLimitProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayRateLimitProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRateLimitProps>
- Enclosing interface:
CfnGatewayRateLimitProps
@Stability(Stable)
public static final class CfnGatewayRateLimitProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRateLimitProps>
A builder for
CfnGatewayRateLimitProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnGatewayRateLimitProps.getDescription()dimensionKeys(List<String> dimensionKeys) Sets the value ofCfnGatewayRateLimitProps.getDimensionKeys()Sets the value ofCfnGatewayRateLimitProps.getEntries()entries(IResolvable entries) Sets the value ofCfnGatewayRateLimitProps.getEntries()gatewayIdentifier(String gatewayIdentifier) Sets the value ofCfnGatewayRateLimitProps.getGatewayIdentifier()rateLimitId(String rateLimitId) Sets the value ofCfnGatewayRateLimitProps.getRateLimitId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionKeys
@Stability(Stable) public CfnGatewayRateLimitProps.Builder dimensionKeys(List<String> dimensionKeys) Sets the value ofCfnGatewayRateLimitProps.getDimensionKeys()- Parameters:
dimensionKeys- Ordered list of dimension names defining the scope of this limit. This parameter is required. Unique per gateway — no two limits can share the same dimensionKeys.- Returns:
this
-
entries
Sets the value ofCfnGatewayRateLimitProps.getEntries()- Parameters:
entries- Rule entries mapping dimension values to rate configurations. This parameter is required.- Returns:
this
-
entries
Sets the value ofCfnGatewayRateLimitProps.getEntries()- Parameters:
entries- Rule entries mapping dimension values to rate configurations. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnGatewayRateLimitProps.getDescription()- Parameters:
description- Optional human-readable description for this limit.- Returns:
this
-
gatewayIdentifier
@Stability(Stable) public CfnGatewayRateLimitProps.Builder gatewayIdentifier(String gatewayIdentifier) Sets the value ofCfnGatewayRateLimitProps.getGatewayIdentifier()- Parameters:
gatewayIdentifier- the value to be set.- Returns:
this
-
rateLimitId
Sets the value ofCfnGatewayRateLimitProps.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<CfnGatewayRateLimitProps>- Returns:
- a new instance of
CfnGatewayRateLimitProps - Throws:
NullPointerException- if any required attribute was not provided
-