Interface RuleGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroup.Builder,
,RuleGroup> SdkBuilder<RuleGroup.Builder,
,RuleGroup> SdkPojo
- Enclosing class:
RuleGroup
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleGroup.Builder
referenceSets
(Consumer<ReferenceSets.Builder> referenceSets) The list of a rule group's reference sets.referenceSets
(ReferenceSets referenceSets) The list of a rule group's reference sets.default RuleGroup.Builder
rulesSource
(Consumer<RulesSource.Builder> rulesSource) The stateful rules or stateless rules for the rule group.rulesSource
(RulesSource rulesSource) The stateful rules or stateless rules for the rule group.default RuleGroup.Builder
ruleVariables
(Consumer<RuleVariables.Builder> ruleVariables) Settings that are available for use in the rules in the rule group.ruleVariables
(RuleVariables ruleVariables) Settings that are available for use in the rules in the rule group.default RuleGroup.Builder
statefulRuleOptions
(Consumer<StatefulRuleOptions.Builder> statefulRuleOptions) Additional options governing how Network Firewall handles stateful rules.statefulRuleOptions
(StatefulRuleOptions statefulRuleOptions) Additional options governing how Network Firewall handles stateful rules.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ruleVariables
Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
ruleVariables
Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.
This is a convenience method that creates an instance of theRuleVariables.Builder
avoiding the need to create one manually viaRuleVariables.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruleVariables(RuleVariables)
.- Parameters:
ruleVariables
- a consumer that will call methods onRuleVariables.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
referenceSets
The list of a rule group's reference sets.
- Parameters:
referenceSets
- The list of a rule group's reference sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceSets
The list of a rule group's reference sets.
This is a convenience method that creates an instance of theReferenceSets.Builder
avoiding the need to create one manually viaReferenceSets.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferenceSets(ReferenceSets)
.- Parameters:
referenceSets
- a consumer that will call methods onReferenceSets.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rulesSource
The stateful rules or stateless rules for the rule group.
- Parameters:
rulesSource
- The stateful rules or stateless rules for the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesSource
The stateful rules or stateless rules for the rule group.
This is a convenience method that creates an instance of theRulesSource.Builder
avoiding the need to create one manually viaRulesSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torulesSource(RulesSource)
.- Parameters:
rulesSource
- a consumer that will call methods onRulesSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Network Firewall Developer Guide.
- 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 Network Firewall Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleOptions
default RuleGroup.Builder statefulRuleOptions(Consumer<StatefulRuleOptions.Builder> 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 Network Firewall Developer Guide.
This is a convenience method that creates an instance of theStatefulRuleOptions.Builder
avoiding the need to create one manually viaStatefulRuleOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatefulRuleOptions(StatefulRuleOptions)
.- Parameters:
statefulRuleOptions
- a consumer that will call methods onStatefulRuleOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-