Class CfnWebACL.DataProtectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.DataProtectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.DataProtectProperty>
- Enclosing interface:
CfnWebACL.DataProtectProperty
@Stability(Stable)
public static final class CfnWebACL.DataProtectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.DataProtectProperty>
A builder for
CfnWebACL.DataProtectProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWebACL.DataProtectProperty.getAction()build()Builds the configured instance.excludeRateBasedDetails(Boolean excludeRateBasedDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRateBasedDetails()excludeRateBasedDetails(IResolvable excludeRateBasedDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRateBasedDetails()excludeRuleMatchDetails(Boolean excludeRuleMatchDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRuleMatchDetails()excludeRuleMatchDetails(IResolvable excludeRuleMatchDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRuleMatchDetails()field(IResolvable field) Sets the value ofCfnWebACL.DataProtectProperty.getField()Sets the value ofCfnWebACL.DataProtectProperty.getField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnWebACL.DataProtectProperty.getAction()- Parameters:
action- the value to be set. This parameter is required.- Returns:
this
-
field
Sets the value ofCfnWebACL.DataProtectProperty.getField()- Parameters:
field- Field in log to protect. This parameter is required.- Returns:
this
-
field
@Stability(Stable) public CfnWebACL.DataProtectProperty.Builder field(CfnWebACL.FieldToProtectProperty field) Sets the value ofCfnWebACL.DataProtectProperty.getField()- Parameters:
field- Field in log to protect. This parameter is required.- Returns:
this
-
excludeRateBasedDetails
@Stability(Stable) public CfnWebACL.DataProtectProperty.Builder excludeRateBasedDetails(Boolean excludeRateBasedDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRateBasedDetails()- Parameters:
excludeRateBasedDetails- the value to be set.- Returns:
this
-
excludeRateBasedDetails
@Stability(Stable) public CfnWebACL.DataProtectProperty.Builder excludeRateBasedDetails(IResolvable excludeRateBasedDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRateBasedDetails()- Parameters:
excludeRateBasedDetails- the value to be set.- Returns:
this
-
excludeRuleMatchDetails
@Stability(Stable) public CfnWebACL.DataProtectProperty.Builder excludeRuleMatchDetails(Boolean excludeRuleMatchDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRuleMatchDetails()- Parameters:
excludeRuleMatchDetails- the value to be set.- Returns:
this
-
excludeRuleMatchDetails
@Stability(Stable) public CfnWebACL.DataProtectProperty.Builder excludeRuleMatchDetails(IResolvable excludeRuleMatchDetails) Sets the value ofCfnWebACL.DataProtectProperty.getExcludeRuleMatchDetails()- Parameters:
excludeRuleMatchDetails- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.DataProtectProperty>- Returns:
- a new instance of
CfnWebACL.DataProtectProperty - Throws:
NullPointerException- if any required attribute was not provided
-