Interface RuleGroupDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupDetails.Builder,
,RuleGroupDetails> SdkBuilder<RuleGroupDetails.Builder,
,RuleGroupDetails> SdkPojo
- Enclosing class:
RuleGroupDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleGroupDetails.Builder
rulesSource
(Consumer<RuleGroupSource.Builder> rulesSource) The rules and actions for the rule group.rulesSource
(RuleGroupSource rulesSource) The rules and actions for the rule group.default RuleGroupDetails.Builder
ruleVariables
(Consumer<RuleGroupVariables.Builder> ruleVariables) Additional settings to use in the specified rules.ruleVariables
(RuleGroupVariables ruleVariables) Additional settings to use in the specified rules.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
-
ruleVariables
Additional settings to use in the specified rules.
- Parameters:
ruleVariables
- Additional settings to use in the specified rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleVariables
Additional settings to use in the specified rules.
This is a convenience method that creates an instance of theRuleGroupVariables.Builder
avoiding the need to create one manually viaRuleGroupVariables.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruleVariables(RuleGroupVariables)
.- Parameters:
ruleVariables
- a consumer that will call methods onRuleGroupVariables.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rulesSource
The rules and actions for the rule group.
For stateful rule groups, can contain
RulesString
,RulesSourceList
, orStatefulRules
.For stateless rule groups, contains
StatelessRulesAndCustomActions
.- Parameters:
rulesSource
- The rules and actions for the rule group.For stateful rule groups, can contain
RulesString
,RulesSourceList
, orStatefulRules
.For stateless rule groups, contains
StatelessRulesAndCustomActions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rulesSource
The rules and actions for the rule group.
For stateful rule groups, can contain
RulesString
,RulesSourceList
, orStatefulRules
.For stateless rule groups, contains
This is a convenience method that creates an instance of theStatelessRulesAndCustomActions
.RuleGroupSource.Builder
avoiding the need to create one manually viaRuleGroupSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torulesSource(RuleGroupSource)
.- Parameters:
rulesSource
- a consumer that will call methods onRuleGroupSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-