Class CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty>
- Enclosing interface:
CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty
@Stability(Stable)
public static final class CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultSizeInspectionLimit
(String defaultSizeInspectionLimit)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultSizeInspectionLimit
@Stability(Stable) public CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty.Builder defaultSizeInspectionLimit(String defaultSizeInspectionLimit) Sets the value ofCfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty.getDefaultSizeInspectionLimit()
- Parameters:
defaultSizeInspectionLimit
- Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to AWS WAF for inspection. This parameter is required. This applies to statements in the web ACL that inspect the body or JSON body.Default:
16 KB (16,384 bytes)
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty>
- Returns:
- a new instance of
CfnWebACL.RequestBodyAssociatedResourceTypeConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-