Class CfnWebACL.AllowActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.AllowActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.AllowActionProperty>
- Enclosing interface:
CfnWebACL.AllowActionProperty
@Stability(Stable)
public static final class CfnWebACL.AllowActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.AllowActionProperty>
A builder for
CfnWebACL.AllowActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnWebACL.AllowActionProperty.getCustomRequestHandling()customRequestHandling(CfnWebACL.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACL.AllowActionProperty.getCustomRequestHandling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customRequestHandling
@Stability(Stable) public CfnWebACL.AllowActionProperty.Builder customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnWebACL.AllowActionProperty.getCustomRequestHandling()- Parameters:
customRequestHandling- Defines custom handling for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .- Returns:
this
-
customRequestHandling
@Stability(Stable) public CfnWebACL.AllowActionProperty.Builder customRequestHandling(CfnWebACL.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACL.AllowActionProperty.getCustomRequestHandling()- Parameters:
customRequestHandling- Defines custom handling for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.AllowActionProperty>- Returns:
- a new instance of
CfnWebACL.AllowActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-