Class CfnWebFunctionEndpoint.ThrottleConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnWebFunctionEndpoint.ThrottleConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionEndpoint.ThrottleConfigProperty>
- Enclosing interface:
CfnWebFunctionEndpoint.ThrottleConfigProperty
@Stability(Stable)
public static final class CfnWebFunctionEndpoint.ThrottleConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionEndpoint.ThrottleConfigProperty>
A builder for
CfnWebFunctionEndpoint.ThrottleConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebFunctionEndpoint.ThrottleConfigProperty.getRateLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rateLimit
@Stability(Stable) public CfnWebFunctionEndpoint.ThrottleConfigProperty.Builder rateLimit(Number rateLimit) Sets the value ofCfnWebFunctionEndpoint.ThrottleConfigProperty.getRateLimit()- Parameters:
rateLimit- The maximum request rate per second for the endpoint, up to a maximum of 10000. This optional limit further constrains the endpoint's request rate. When omitted, the endpoint's request rate is limited only by your account's rate limit quota. Specify 0 to reject all new requests. Other supported values are 100 through 1000 in increments of 100, and 2000 through 10000 in increments of 1000. Supported values can vary by Region; if you specify an unsupported value, the error lists the values available in that Region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionEndpoint.ThrottleConfigProperty>- Returns:
- a new instance of
CfnWebFunctionEndpoint.ThrottleConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-