Interface FirewallRulesSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallRulesSource.Builder,,FirewallRulesSource> SdkBuilder<FirewallRulesSource.Builder,,FirewallRulesSource> SdkPojo
- Enclosing class:
FirewallRulesSource
-
Method Summary
Modifier and TypeMethodDescriptionfirewallRules(Collection<FirewallRule> firewallRules) An array of individual firewall engine rules, provided as structured rules rather than as a rule string.firewallRules(Consumer<FirewallRule.Builder>... firewallRules) An array of individual firewall engine rules, provided as structured rules rather than as a rule string.firewallRules(FirewallRule... firewallRules) An array of individual firewall engine rules, provided as structured rules rather than as a rule string.default FirewallRulesSource.BuilderrulesSourceList(Consumer<RulesSourceList.Builder> rulesSourceList) Stateful inspection criteria for a domain list, specified as the list of domain names that Network Firewall generates firewall engine rules from.rulesSourceList(RulesSourceList rulesSourceList) Stateful inspection criteria for a domain list, specified as the list of domain names that Network Firewall generates firewall engine rules from.rulesString(String rulesString) Firewall engine rules, provided as a single Suricata-compatible rule string in firewall mode.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
-
rulesString
Firewall engine rules, provided as a single Suricata-compatible rule string in firewall mode. Use this to provide rules that you've already written in the Suricata firewall-mode format. For the rule format, see Rule groups for a firewall using a Next Generation policy in the Network Firewall Developer Guide.
- Parameters:
rulesString- Firewall engine rules, provided as a single Suricata-compatible rule string in firewall mode. Use this to provide rules that you've already written in the Suricata firewall-mode format. For the rule format, see Rule groups for a firewall using a Next Generation policy in the Network Firewall Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallRules
An array of individual firewall engine rules, provided as structured rules rather than as a rule string.
- Parameters:
firewallRules- An array of individual firewall engine rules, provided as structured rules rather than as a rule string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallRules
An array of individual firewall engine rules, provided as structured rules rather than as a rule string.
- Parameters:
firewallRules- An array of individual firewall engine rules, provided as structured rules rather than as a rule string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallRules
An array of individual firewall engine rules, provided as structured rules rather than as a rule string.
This is a convenience method that creates an instance of theFirewallRule.Builderavoiding the need to create one manually viaFirewallRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofirewallRules(List<FirewallRule>).- Parameters:
firewallRules- a consumer that will call methods onFirewallRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rulesSourceList
Stateful inspection criteria for a domain list, specified as the list of domain names that Network Firewall generates firewall engine rules from.
- Parameters:
rulesSourceList- Stateful inspection criteria for a domain list, specified as the list of domain names that Network Firewall generates firewall engine rules from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesSourceList
default FirewallRulesSource.Builder rulesSourceList(Consumer<RulesSourceList.Builder> rulesSourceList) Stateful inspection criteria for a domain list, specified as the list of domain names that Network Firewall generates firewall engine rules from.
This is a convenience method that creates an instance of theRulesSourceList.Builderavoiding the need to create one manually viaRulesSourceList.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torulesSourceList(RulesSourceList).- Parameters:
rulesSourceList- a consumer that will call methods onRulesSourceList.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-