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