Class CfnWebACLPropsMixin.OverrideActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.OverrideActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.OverrideActionProperty>
- Enclosing interface:
CfnWebACLPropsMixin.OverrideActionProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.OverrideActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.OverrideActionProperty>
A builder for
CfnWebACLPropsMixin.OverrideActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACLPropsMixin.OverrideActionProperty.getCount()Sets the value ofCfnWebACLPropsMixin.OverrideActionProperty.getNone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Sets the value ofCfnWebACLPropsMixin.OverrideActionProperty.getCount()- Parameters:
count- Override the rule group evaluation result to count only.This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with
Countaction, in your rule group reference statement settings.- Returns:
this
-
none
Sets the value ofCfnWebACLPropsMixin.OverrideActionProperty.getNone()- Parameters:
none- Don't override the rule group evaluation result. This is the most common setting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.OverrideActionProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.OverrideActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-