Class CfnRuleGroupPropsMixin.RuleGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnRuleGroupPropsMixin.RuleGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleGroupProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.RuleGroupProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.RuleGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleGroupProperty>
A builder for
CfnRuleGroupPropsMixin.RuleGroupProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.referenceSets(CfnRuleGroupPropsMixin.ReferenceSetsProperty referenceSets) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getReferenceSets()referenceSets(IResolvable referenceSets) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getReferenceSets()rulesSource(CfnRuleGroupPropsMixin.RulesSourceProperty rulesSource) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRulesSource()rulesSource(IResolvable rulesSource) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRulesSource()ruleVariables(CfnRuleGroupPropsMixin.RuleVariablesProperty ruleVariables) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRuleVariables()ruleVariables(IResolvable ruleVariables) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRuleVariables()statefulRuleOptions(CfnRuleGroupPropsMixin.StatefulRuleOptionsProperty statefulRuleOptions) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getStatefulRuleOptions()statefulRuleOptions(IResolvable statefulRuleOptions) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getStatefulRuleOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
referenceSets
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder referenceSets(IResolvable referenceSets) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getReferenceSets()- Parameters:
referenceSets- The reference sets for the stateful rule group.- Returns:
this
-
referenceSets
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder referenceSets(CfnRuleGroupPropsMixin.ReferenceSetsProperty referenceSets) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getReferenceSets()- Parameters:
referenceSets- The reference sets for the stateful rule group.- Returns:
this
-
rulesSource
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder rulesSource(IResolvable rulesSource) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRulesSource()- Parameters:
rulesSource- The stateful rules or stateless rules for the rule group.- Returns:
this
-
rulesSource
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder rulesSource(CfnRuleGroupPropsMixin.RulesSourceProperty rulesSource) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRulesSource()- Parameters:
rulesSource- The stateful rules or stateless rules for the rule group.- Returns:
this
-
ruleVariables
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder ruleVariables(IResolvable ruleVariables) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRuleVariables()- Parameters:
ruleVariables- Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.- Returns:
this
-
ruleVariables
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder ruleVariables(CfnRuleGroupPropsMixin.RuleVariablesProperty ruleVariables) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getRuleVariables()- Parameters:
ruleVariables- Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.- Returns:
this
-
statefulRuleOptions
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder statefulRuleOptions(IResolvable statefulRuleOptions) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getStatefulRuleOptions()- Parameters:
statefulRuleOptions- Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings. Some limitations apply; for more information, see Strict evaluation order in the AWS Network Firewall Developer Guide .- Returns:
this
-
statefulRuleOptions
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleGroupProperty.Builder statefulRuleOptions(CfnRuleGroupPropsMixin.StatefulRuleOptionsProperty statefulRuleOptions) Sets the value ofCfnRuleGroupPropsMixin.RuleGroupProperty.getStatefulRuleOptions()- Parameters:
statefulRuleOptions- Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings. Some limitations apply; for more information, see Strict evaluation order in the AWS Network Firewall Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleGroupProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.RuleGroupProperty - Throws:
NullPointerException- if any required attribute was not provided
-