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