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