public static final class CfnWebACL.OverrideActionProperty.Builder
extends java.lang.Object
CfnWebACL.OverrideActionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACL.OverrideActionProperty |
build()
Builds the configured instance.
|
CfnWebACL.OverrideActionProperty.Builder |
count(java.lang.Object count)
Sets the value of
CfnWebACL.OverrideActionProperty.getCount() |
CfnWebACL.OverrideActionProperty.Builder |
none(java.lang.Object none)
Sets the value of
CfnWebACL.OverrideActionProperty.getNone() |
public CfnWebACL.OverrideActionProperty.Builder count(java.lang.Object count)
CfnWebACL.OverrideActionProperty.getCount()
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
Count
action, in your rule group reference statement settings.
this
public CfnWebACL.OverrideActionProperty.Builder none(java.lang.Object none)
CfnWebACL.OverrideActionProperty.getNone()
none
- Don't override the rule group evaluation result.
This is the most common setting.this
public CfnWebACL.OverrideActionProperty build()
CfnWebACL.OverrideActionProperty
java.lang.NullPointerException
- if any required attribute was not provided