Interface RulesSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RulesSource.Builder,
,RulesSource> SdkBuilder<RulesSource.Builder,
,RulesSource> SdkPojo
- Enclosing class:
RulesSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault RulesSource.Builder
rulesSourceList
(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.Builder
statelessRulesAndCustomActions
(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
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
-
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
priority
keyword if theRuleOrder
option 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
priority
keyword if theRuleOrder
option 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.Builder
avoiding the need to create one manually viaRulesSourceList.builder()
.When the
Consumer
completes,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
Rules
format, 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 SuricataRules
format, 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
Rules
format, 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 SuricataRules
format, 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 theRules
format, see Rules Format.StatefulRule.Builder
avoiding the need to create one manually viaStatefulRule.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaStatelessRulesAndCustomActions.builder()
.When the
Consumer
completes,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:
-