Class CfnWebACL.AssociationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.AssociationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.AssociationConfigProperty>
- Enclosing interface:
CfnWebACL.AssociationConfigProperty
@Stability(Stable)
public static final class CfnWebACL.AssociationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.AssociationConfigProperty>
A builder for
CfnWebACL.AssociationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.requestBody(Map<String, ? extends Object> requestBody) Sets the value ofCfnWebACL.AssociationConfigProperty.getRequestBody()requestBody(IResolvable requestBody) Sets the value ofCfnWebACL.AssociationConfigProperty.getRequestBody()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
requestBody
@Stability(Stable) public CfnWebACL.AssociationConfigProperty.Builder requestBody(IResolvable requestBody) Sets the value ofCfnWebACL.AssociationConfigProperty.getRequestBody()- Parameters:
requestBody- Customizes the maximum size of the request body that your protected CloudFront distributions forward to AWS WAF for inspection. The default size is 16 KB (16,384 bytes).You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see AWS WAF Pricing .
- Returns:
this
-
requestBody
@Stability(Stable) public CfnWebACL.AssociationConfigProperty.Builder requestBody(Map<String, ? extends Object> requestBody) Sets the value ofCfnWebACL.AssociationConfigProperty.getRequestBody()- Parameters:
requestBody- Customizes the maximum size of the request body that your protected CloudFront distributions forward to AWS WAF for inspection. The default size is 16 KB (16,384 bytes).You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see AWS WAF Pricing .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.AssociationConfigProperty>- Returns:
- a new instance of
CfnWebACL.AssociationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-