Class CfnWebACL.ClientSideActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.ClientSideActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.ClientSideActionProperty>
- Enclosing interface:
CfnWebACL.ClientSideActionProperty
@Stability(Stable)
public static final class CfnWebACL.ClientSideActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.ClientSideActionProperty>
A builder for
CfnWebACL.ClientSideActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.exemptUriRegularExpressions(List<? extends Object> exemptUriRegularExpressions) Sets the value ofCfnWebACL.ClientSideActionProperty.getExemptUriRegularExpressions()exemptUriRegularExpressions(IResolvable exemptUriRegularExpressions) Sets the value ofCfnWebACL.ClientSideActionProperty.getExemptUriRegularExpressions()sensitivity(String sensitivity) Sets the value ofCfnWebACL.ClientSideActionProperty.getSensitivity()usageOfAction(String usageOfAction) Sets the value ofCfnWebACL.ClientSideActionProperty.getUsageOfAction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
usageOfAction
@Stability(Stable) public CfnWebACL.ClientSideActionProperty.Builder usageOfAction(String usageOfAction) Sets the value ofCfnWebACL.ClientSideActionProperty.getUsageOfAction()- Parameters:
usageOfAction- the value to be set. This parameter is required.- Returns:
this
-
exemptUriRegularExpressions
@Stability(Stable) public CfnWebACL.ClientSideActionProperty.Builder exemptUriRegularExpressions(IResolvable exemptUriRegularExpressions) Sets the value ofCfnWebACL.ClientSideActionProperty.getExemptUriRegularExpressions()- Parameters:
exemptUriRegularExpressions- the value to be set.- Returns:
this
-
exemptUriRegularExpressions
@Stability(Stable) public CfnWebACL.ClientSideActionProperty.Builder exemptUriRegularExpressions(List<? extends Object> exemptUriRegularExpressions) Sets the value ofCfnWebACL.ClientSideActionProperty.getExemptUriRegularExpressions()- Parameters:
exemptUriRegularExpressions- the value to be set.- Returns:
this
-
sensitivity
@Stability(Stable) public CfnWebACL.ClientSideActionProperty.Builder sensitivity(String sensitivity) Sets the value ofCfnWebACL.ClientSideActionProperty.getSensitivity()- Parameters:
sensitivity- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.ClientSideActionProperty>- Returns:
- a new instance of
CfnWebACL.ClientSideActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-