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