Interface RulesSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RulesSource.Builder,,RulesSource> SdkBuilder<RulesSource.Builder,,RulesSource> SdkPojo
- Enclosing class:
RulesSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault RulesSource.BuilderrulesSourceList(Consumer<RulesSourceList.Builder> rulesSourceList) Stateful inspection criteria for a domain list rule group.rulesSourceList(RulesSourceList rulesSourceList) Stateful inspection criteria for a domain list rule group.rulesString(String rulesString) Stateful inspection criteria, provided in Suricata compatible rules.statefulRules(Collection<StatefulRule> statefulRules) An array of individual stateful rules inspection criteria to be used together in a stateful rule group.statefulRules(Consumer<StatefulRule.Builder>... statefulRules) An array of individual stateful rules inspection criteria to be used together in a stateful rule group.statefulRules(StatefulRule... statefulRules) An array of individual stateful rules inspection criteria to be used together in a stateful rule group.default RulesSource.BuilderstatelessRulesAndCustomActions(Consumer<StatelessRulesAndCustomActions.Builder> statelessRulesAndCustomActions) Stateless inspection criteria to be used in a stateless rule group.statelessRulesAndCustomActions(StatelessRulesAndCustomActions statelessRulesAndCustomActions) Stateless inspection criteria to be used in a stateless rule group.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, sdkFields
-
Method Details
-
rulesString
Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard rule-based language for network traffic inspection.
These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can't use the
prioritykeyword if theRuleOrderoption in StatefulRuleOptions is set toSTRICT_ORDER.- Parameters:
rulesString- Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard rule-based language for network traffic inspection.These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.
You can't use the
prioritykeyword if theRuleOrderoption in StatefulRuleOptions is set toSTRICT_ORDER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesSourceList
Stateful inspection criteria for a domain list rule group.
- Parameters:
rulesSourceList- Stateful inspection criteria for a domain list rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesSourceList
Stateful inspection criteria for a domain list rule group.
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:
-
statefulRules
An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata
Rulesformat, see Rules Format.- Parameters:
statefulRules- An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the SuricataRulesformat, see Rules Format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRules
An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata
Rulesformat, see Rules Format.- Parameters:
statefulRules- An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the SuricataRulesformat, see Rules Format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRules
An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata
This is a convenience method that creates an instance of theRulesformat, see Rules Format.StatefulRule.Builderavoiding the need to create one manually viaStatefulRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatefulRules(List<StatefulRule>).- Parameters:
statefulRules- a consumer that will call methods onStatefulRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statelessRulesAndCustomActions
RulesSource.Builder statelessRulesAndCustomActions(StatelessRulesAndCustomActions statelessRulesAndCustomActions) Stateless inspection criteria to be used in a stateless rule group.
- Parameters:
statelessRulesAndCustomActions- Stateless inspection criteria to be used in a stateless rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRulesAndCustomActions
default RulesSource.Builder statelessRulesAndCustomActions(Consumer<StatelessRulesAndCustomActions.Builder> statelessRulesAndCustomActions) Stateless inspection criteria to be used in a stateless rule group.
This is a convenience method that creates an instance of theStatelessRulesAndCustomActions.Builderavoiding the need to create one manually viaStatelessRulesAndCustomActions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatelessRulesAndCustomActions(StatelessRulesAndCustomActions).- Parameters:
statelessRulesAndCustomActions- a consumer that will call methods onStatelessRulesAndCustomActions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-