Class CfnWebACLPropsMixin.DataProtectionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.DataProtectionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.DataProtectionConfigProperty>
- Enclosing interface:
CfnWebACLPropsMixin.DataProtectionConfigProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.DataProtectionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.DataProtectionConfigProperty>
A builder for
CfnWebACLPropsMixin.DataProtectionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataProtections(List<? extends Object> dataProtections) Sets the value ofCfnWebACLPropsMixin.DataProtectionConfigProperty.getDataProtections()dataProtections(IResolvable dataProtections) Sets the value ofCfnWebACLPropsMixin.DataProtectionConfigProperty.getDataProtections()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataProtections
@Stability(Stable) public CfnWebACLPropsMixin.DataProtectionConfigProperty.Builder dataProtections(IResolvable dataProtections) Sets the value ofCfnWebACLPropsMixin.DataProtectionConfigProperty.getDataProtections()- Parameters:
dataProtections- An array of data protection configurations for specific web request field types. This is defined for each web ACL. AWS WAF applies the specified protection to all web requests that the web ACL inspects.- Returns:
this
-
dataProtections
@Stability(Stable) public CfnWebACLPropsMixin.DataProtectionConfigProperty.Builder dataProtections(List<? extends Object> dataProtections) Sets the value ofCfnWebACLPropsMixin.DataProtectionConfigProperty.getDataProtections()- Parameters:
dataProtections- An array of data protection configurations for specific web request field types. This is defined for each web ACL. AWS WAF applies the specified protection to all web requests that the web ACL inspects.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.DataProtectionConfigProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.DataProtectionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-