Interface RuleGroup.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RuleGroup.Builder,,- RuleGroup> - SdkBuilder<RuleGroup.Builder,,- RuleGroup> - SdkPojo
- Enclosing class:
- RuleGroup
- 
Method SummaryModifier and TypeMethodDescriptiondefault RuleGroup.BuilderreferenceSets(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.BuilderrulesSource(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.BuilderruleVariables(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.BuilderstatefulRuleOptions(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
ruleVariablesSettings 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.
 
- 
ruleVariablesSettings 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.Builderavoiding the need to create one manually viaRuleVariables.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleVariables(RuleVariables).- Parameters:
- ruleVariables- a consumer that will call methods on- RuleVariables.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
referenceSetsThe 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.
 
- 
referenceSetsThe list of a rule group's reference sets. This is a convenience method that creates an instance of theReferenceSets.Builderavoiding the need to create one manually viaReferenceSets.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferenceSets(ReferenceSets).- Parameters:
- referenceSets- a consumer that will call methods on- ReferenceSets.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
rulesSourceThe 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.
 
- 
rulesSourceThe stateful rules or stateless rules for the rule group. This is a convenience method that creates an instance of theRulesSource.Builderavoiding the need to create one manually viaRulesSource.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torulesSource(RulesSource).- Parameters:
- rulesSource- a consumer that will call methods on- RulesSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statefulRuleOptionsAdditional 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.
 
- 
statefulRuleOptionsdefault 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.Builderavoiding the need to create one manually viaStatefulRuleOptions.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatefulRuleOptions(StatefulRuleOptions).- Parameters:
- statefulRuleOptions- a consumer that will call methods on- StatefulRuleOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-