Interface RuleGroupDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupDetails.Builder,,RuleGroupDetails> SdkBuilder<RuleGroupDetails.Builder,,RuleGroupDetails> SdkPojo
- Enclosing class:
RuleGroupDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleGroupDetails.BuilderrulesSource(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.BuilderruleVariables(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
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
-
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.Builderavoiding the need to create one manually viaRuleGroupVariables.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRuleGroupSource.builder().When the
Consumercompletes,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:
-