Interface RuleGroupDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupDetails.Builder,RuleGroupDetails>,SdkBuilder<RuleGroupDetails.Builder,RuleGroupDetails>,SdkPojo
- Enclosing class:
- RuleGroupDetails
public static interface RuleGroupDetails.Builder extends SdkPojo, CopyableBuilder<RuleGroupDetails.Builder,RuleGroupDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleGroupDetails.BuilderrulesSource(Consumer<RuleGroupSource.Builder> rulesSource)The rules and actions for the rule group.RuleGroupDetails.BuilderrulesSource(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.RuleGroupDetails.BuilderruleVariables(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 Detail
-
ruleVariables
RuleGroupDetails.Builder ruleVariables(RuleGroupVariables 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
default RuleGroupDetails.Builder ruleVariables(Consumer<RuleGroupVariables.Builder> 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:
ruleVariables(RuleGroupVariables)
-
rulesSource
RuleGroupDetails.Builder rulesSource(RuleGroupSource 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
default RuleGroupDetails.Builder rulesSource(Consumer<RuleGroupSource.Builder> 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:
rulesSource(RuleGroupSource)
-
-