Interface FirewallRuleGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallRuleGroup.Builder,,FirewallRuleGroup> SdkBuilder<FirewallRuleGroup.Builder,,FirewallRuleGroup> SdkPojo
- Enclosing class:
FirewallRuleGroup
-
Method Summary
Modifier and TypeMethodDescriptiondefault FirewallRuleGroup.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 FirewallRuleGroup.BuilderrulesSource(Consumer<FirewallRulesSource.Builder> rulesSource) The stateful inspection criteria for the firewall engine rule group.rulesSource(FirewallRulesSource rulesSource) The stateful inspection criteria for the firewall engine rule group.default FirewallRuleGroup.BuilderruleVariables(Consumer<RuleVariables.Builder> ruleVariables) Settings that are available for use in the rules in the firewall engine rule group, such as IP set and port variables that the rules reference.ruleVariables(RuleVariables ruleVariables) Settings that are available for use in the rules in the firewall engine rule group, such as IP set and port variables that the rules reference.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rulesSource
The stateful inspection criteria for the firewall engine rule group.
- Parameters:
rulesSource- The stateful inspection criteria for the firewall engine rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesSource
The stateful inspection criteria for the firewall engine rule group.
This is a convenience method that creates an instance of theFirewallRulesSource.Builderavoiding the need to create one manually viaFirewallRulesSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torulesSource(FirewallRulesSource).- Parameters:
rulesSource- a consumer that will call methods onFirewallRulesSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleVariables
Settings that are available for use in the rules in the firewall engine rule group, such as IP set and port variables that the rules reference.
- Parameters:
ruleVariables- Settings that are available for use in the rules in the firewall engine rule group, such as IP set and port variables that the rules reference.- 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 firewall engine rule group, such as IP set and port variables that the rules reference.
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 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. Firewall engine rule groups don't support IP set references (reference sets); this setting applies to IPS engine rule groups. To use CIDR ranges in firewall engine rules, use rule variables instead.
- Parameters:
referenceSets- The list of a rule group's reference sets. Firewall engine rule groups don't support IP set references (reference sets); this setting applies to IPS engine rule groups. To use CIDR ranges in firewall engine rules, use rule variables instead.- 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. Firewall engine rule groups don't support IP set references (reference sets); this setting applies to IPS engine rule groups. To use CIDR ranges in firewall engine rules, use rule variables instead.
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 onReferenceSets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-