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 SummaryConstructors
- 
Method SummaryModifier 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- 
Builderpublic 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
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnWebACL.AllowActionProperty>
- Returns:
- a new instance of CfnWebACL.AllowActionProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-