Class CfnFirewallPolicy.StatefulRuleGroupOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallPolicy.StatefulRuleGroupOverrideProperty>
- Enclosing interface:
CfnFirewallPolicy.StatefulRuleGroupOverrideProperty
@Stability(Stable)
public static final class CfnFirewallPolicy.StatefulRuleGroupOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallPolicy.StatefulRuleGroupOverrideProperty>
A builder for
CfnFirewallPolicy.StatefulRuleGroupOverrideProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFirewallPolicy.StatefulRuleGroupOverrideProperty.getAction()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnFirewallPolicy.StatefulRuleGroupOverrideProperty.Builder action(String action) Sets the value ofCfnFirewallPolicy.StatefulRuleGroupOverrideProperty.getAction()
- Parameters:
action
- The action that changes the rule group fromDROP
toALERT
. This only applies to managed rule groups.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFirewallPolicy.StatefulRuleGroupOverrideProperty>
- Returns:
- a new instance of
CfnFirewallPolicy.StatefulRuleGroupOverrideProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-