Class CfnWebACLPropsMixin.AllowActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.AllowActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.AllowActionProperty>
- Enclosing interface:
CfnWebACLPropsMixin.AllowActionProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.AllowActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.AllowActionProperty>
A builder for
CfnWebACLPropsMixin.AllowActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customRequestHandling(CfnWebACLPropsMixin.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACLPropsMixin.AllowActionProperty.getCustomRequestHandling()customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnWebACLPropsMixin.AllowActionProperty.getCustomRequestHandling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customRequestHandling
@Stability(Stable) public CfnWebACLPropsMixin.AllowActionProperty.Builder customRequestHandling(IResolvable customRequestHandling) Sets the value ofCfnWebACLPropsMixin.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 CfnWebACLPropsMixin.AllowActionProperty.Builder customRequestHandling(CfnWebACLPropsMixin.CustomRequestHandlingProperty customRequestHandling) Sets the value ofCfnWebACLPropsMixin.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<CfnWebACLPropsMixin.AllowActionProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.AllowActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-