Class CfnWebACL.ExcludedRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.ExcludedRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.ExcludedRuleProperty>
- Enclosing interface:
CfnWebACL.ExcludedRuleProperty
@Stability(Stable)
public static final class CfnWebACL.ExcludedRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.ExcludedRuleProperty>
A builder for
CfnWebACL.ExcludedRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACL.ExcludedRuleProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWebACL.ExcludedRuleProperty.getName()- Parameters:
name- The name of the rule whose action you want to override toCount. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.ExcludedRuleProperty>- Returns:
- a new instance of
CfnWebACL.ExcludedRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-