Interface RuleGroupSourceStatelessRulesDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupSourceStatelessRulesDetails.Builder,,RuleGroupSourceStatelessRulesDetails> SdkBuilder<RuleGroupSourceStatelessRulesDetails.Builder,,RuleGroupSourceStatelessRulesDetails> SdkPojo
- Enclosing class:
RuleGroupSourceStatelessRulesDetails
public static interface RuleGroupSourceStatelessRulesDetails.Builder
extends SdkPojo, CopyableBuilder<RuleGroupSourceStatelessRulesDetails.Builder,RuleGroupSourceStatelessRulesDetails>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the order in which to run this rule relative to all of the rules in the stateless rule group.ruleDefinition(Consumer<RuleGroupSourceStatelessRuleDefinition.Builder> ruleDefinition) Provides the definition of the stateless rule.ruleDefinition(RuleGroupSourceStatelessRuleDefinition ruleDefinition) Provides the definition of the stateless rule.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, sdkFields
-
Method Details
-
priority
Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.
- Parameters:
priority- Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleDefinition
RuleGroupSourceStatelessRulesDetails.Builder ruleDefinition(RuleGroupSourceStatelessRuleDefinition ruleDefinition) Provides the definition of the stateless rule.
- Parameters:
ruleDefinition- Provides the definition of the stateless rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleDefinition
default RuleGroupSourceStatelessRulesDetails.Builder ruleDefinition(Consumer<RuleGroupSourceStatelessRuleDefinition.Builder> ruleDefinition) Provides the definition of the stateless rule.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRuleDefinition.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRuleDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleDefinition(RuleGroupSourceStatelessRuleDefinition).- Parameters:
ruleDefinition- a consumer that will call methods onRuleGroupSourceStatelessRuleDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-