Interface RuleGroupSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupSource.Builder,
,RuleGroupSource> SdkBuilder<RuleGroupSource.Builder,
,RuleGroupSource> SdkPojo
- Enclosing class:
RuleGroupSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleGroupSource.Builder
rulesSourceList
(Consumer<RuleGroupSourceListDetails.Builder> rulesSourceList) Stateful inspection criteria for a domain list rule group.rulesSourceList
(RuleGroupSourceListDetails rulesSourceList) Stateful inspection criteria for a domain list rule group.rulesString
(String rulesString) Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.statefulRules
(Collection<RuleGroupSourceStatefulRulesDetails> statefulRules) Suricata rule specifications.statefulRules
(Consumer<RuleGroupSourceStatefulRulesDetails.Builder>... statefulRules) Suricata rule specifications.statefulRules
(RuleGroupSourceStatefulRulesDetails... statefulRules) Suricata rule specifications.default RuleGroupSource.Builder
statelessRulesAndCustomActions
(Consumer<RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder> statelessRulesAndCustomActions) The stateless rules and custom actions used by a stateless rule group.statelessRulesAndCustomActions
(RuleGroupSourceStatelessRulesAndCustomActionsDetails statelessRulesAndCustomActions) The stateless rules and custom actions used by 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
-
rulesSourceList
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
- Parameters:
rulesSourceList
- Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesSourceList
default RuleGroupSource.Builder rulesSourceList(Consumer<RuleGroupSourceListDetails.Builder> rulesSourceList) Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
This is a convenience method that creates an instance of theRuleGroupSourceListDetails.Builder
avoiding the need to create one manually viaRuleGroupSourceListDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torulesSourceList(RuleGroupSourceListDetails)
.- Parameters:
rulesSourceList
- a consumer that will call methods onRuleGroupSourceListDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rulesString
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
- Parameters:
rulesString
- Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRules
RuleGroupSource.Builder statefulRules(Collection<RuleGroupSourceStatefulRulesDetails> statefulRules) Suricata rule specifications.
- Parameters:
statefulRules
- Suricata rule specifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRules
Suricata rule specifications.
- Parameters:
statefulRules
- Suricata rule specifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRules
RuleGroupSource.Builder statefulRules(Consumer<RuleGroupSourceStatefulRulesDetails.Builder>... statefulRules) Suricata rule specifications.
This is a convenience method that creates an instance of theRuleGroupSourceStatefulRulesDetails.Builder
avoiding the need to create one manually viaRuleGroupSourceStatefulRulesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatefulRules(List<RuleGroupSourceStatefulRulesDetails>)
.- Parameters:
statefulRules
- a consumer that will call methods onRuleGroupSourceStatefulRulesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statelessRulesAndCustomActions
RuleGroupSource.Builder statelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails statelessRulesAndCustomActions) The stateless rules and custom actions used by a stateless rule group.
- Parameters:
statelessRulesAndCustomActions
- The stateless rules and custom actions used by a stateless rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRulesAndCustomActions
default RuleGroupSource.Builder statelessRulesAndCustomActions(Consumer<RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder> statelessRulesAndCustomActions) The stateless rules and custom actions used by a stateless rule group.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder
avoiding the need to create one manually viaRuleGroupSourceStatelessRulesAndCustomActionsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails)
.- Parameters:
statelessRulesAndCustomActions
- a consumer that will call methods onRuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-