Class CfnWebACLPropsMixin.RuleActionOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.RuleActionOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.RuleActionOverrideProperty>
- Enclosing interface:
CfnWebACLPropsMixin.RuleActionOverrideProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.RuleActionOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.RuleActionOverrideProperty>
A builder for
CfnWebACLPropsMixin.RuleActionOverrideProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionToUse(CfnWebACLPropsMixin.RuleActionProperty actionToUse) Sets the value ofCfnWebACLPropsMixin.RuleActionOverrideProperty.getActionToUse()actionToUse(IResolvable actionToUse) Sets the value ofCfnWebACLPropsMixin.RuleActionOverrideProperty.getActionToUse()build()Builds the configured instance.Sets the value ofCfnWebACLPropsMixin.RuleActionOverrideProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionToUse
@Stability(Stable) public CfnWebACLPropsMixin.RuleActionOverrideProperty.Builder actionToUse(IResolvable actionToUse) Sets the value ofCfnWebACLPropsMixin.RuleActionOverrideProperty.getActionToUse()- Parameters:
actionToUse- The override action to use, in place of the configured action of the rule in the rule group.- Returns:
this
-
actionToUse
@Stability(Stable) public CfnWebACLPropsMixin.RuleActionOverrideProperty.Builder actionToUse(CfnWebACLPropsMixin.RuleActionProperty actionToUse) Sets the value ofCfnWebACLPropsMixin.RuleActionOverrideProperty.getActionToUse()- Parameters:
actionToUse- The override action to use, in place of the configured action of the rule in the rule group.- Returns:
this
-
name
Sets the value ofCfnWebACLPropsMixin.RuleActionOverrideProperty.getName()- Parameters:
name- The name of the rule to override.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.RuleActionOverrideProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.RuleActionOverrideProperty - Throws:
NullPointerException- if any required attribute was not provided
-