Interface RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder,,RuleGroupSourceStatelessRulesAndCustomActionsDetails> SdkBuilder<RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder,,RuleGroupSourceStatelessRulesAndCustomActionsDetails> SdkPojo
- Enclosing class:
RuleGroupSourceStatelessRulesAndCustomActionsDetails
public static interface RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder
extends SdkPojo, CopyableBuilder<RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder,RuleGroupSourceStatelessRulesAndCustomActionsDetails>
-
Method Summary
Modifier and TypeMethodDescriptioncustomActions(Collection<RuleGroupSourceCustomActionsDetails> customActions) Custom actions for the rule group.customActions(Consumer<RuleGroupSourceCustomActionsDetails.Builder>... customActions) Custom actions for the rule group.customActions(RuleGroupSourceCustomActionsDetails... customActions) Custom actions for the rule group.statelessRules(Collection<RuleGroupSourceStatelessRulesDetails> statelessRules) Stateless rules for the rule group.statelessRules(Consumer<RuleGroupSourceStatelessRulesDetails.Builder>... statelessRules) Stateless rules for the rule group.statelessRules(RuleGroupSourceStatelessRulesDetails... statelessRules) Stateless rules for the rule group.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
-
customActions
RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder customActions(Collection<RuleGroupSourceCustomActionsDetails> customActions) Custom actions for the rule group.
- Parameters:
customActions- Custom actions for the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customActions
RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder customActions(RuleGroupSourceCustomActionsDetails... customActions) Custom actions for the rule group.
- Parameters:
customActions- Custom actions for the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customActions
RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder customActions(Consumer<RuleGroupSourceCustomActionsDetails.Builder>... customActions) Custom actions for the rule group.
This is a convenience method that creates an instance of theRuleGroupSourceCustomActionsDetails.Builderavoiding the need to create one manually viaRuleGroupSourceCustomActionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomActions(List<RuleGroupSourceCustomActionsDetails>).- Parameters:
customActions- a consumer that will call methods onRuleGroupSourceCustomActionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statelessRules
RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder statelessRules(Collection<RuleGroupSourceStatelessRulesDetails> statelessRules) Stateless rules for the rule group.
- Parameters:
statelessRules- Stateless rules for the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRules
RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder statelessRules(RuleGroupSourceStatelessRulesDetails... statelessRules) Stateless rules for the rule group.
- Parameters:
statelessRules- Stateless rules for the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRules
RuleGroupSourceStatelessRulesAndCustomActionsDetails.Builder statelessRules(Consumer<RuleGroupSourceStatelessRulesDetails.Builder>... statelessRules) Stateless rules for the rule group.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRulesDetails.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRulesDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatelessRules(List<RuleGroupSourceStatelessRulesDetails>).- Parameters:
statelessRules- a consumer that will call methods onRuleGroupSourceStatelessRulesDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-