Class CfnGatewayRateLimit.RateConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayRateLimit.RateConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRateLimit.RateConfigProperty>
- Enclosing interface:
CfnGatewayRateLimit.RateConfigProperty
@Stability(Stable)
public static final class CfnGatewayRateLimit.RateConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRateLimit.RateConfigProperty>
A builder for
CfnGatewayRateLimit.RateConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayRateLimit.RateConfigProperty.getPeriod()Sets the value ofCfnGatewayRateLimit.RateConfigProperty.getRate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
period
Sets the value ofCfnGatewayRateLimit.RateConfigProperty.getPeriod()- Parameters:
period- Time period for rate limiting. This parameter is required.- Returns:
this
-
rate
Sets the value ofCfnGatewayRateLimit.RateConfigProperty.getRate()- Parameters:
rate- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRateLimit.RateConfigProperty>- Returns:
- a new instance of
CfnGatewayRateLimit.RateConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-