Interface RuleUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleUpdate.Builder,,RuleUpdate> SdkBuilder<RuleUpdate.Builder,,RuleUpdate> SdkPojo
- Enclosing class:
RuleUpdate
public static interface RuleUpdate.Builder
extends SdkPojo, CopyableBuilder<RuleUpdate.Builder,RuleUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleUpdate.Builderaction(Consumer<RuleAction.Builder> action) The rule action.action(RuleAction action) The rule action.default RuleUpdate.Buildermatch(Consumer<RuleMatch.Builder> match) The rule match.The rule match.The rule priority.ruleIdentifier(String ruleIdentifier) The ID or Amazon Resource Name (ARN) of the 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
-
action
The rule action.
- Parameters:
action- The rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The rule action.
This is a convenience method that creates an instance of theRuleAction.Builderavoiding the need to create one manually viaRuleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(RuleAction).- Parameters:
action- a consumer that will call methods onRuleAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
match
The rule match.
- Parameters:
match- The rule match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The rule match.
This is a convenience method that creates an instance of theRuleMatch.Builderavoiding the need to create one manually viaRuleMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatch(RuleMatch).- Parameters:
match- a consumer that will call methods onRuleMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The rule priority. A listener can't have multiple rules with the same priority.
- Parameters:
priority- The rule priority. A listener can't have multiple rules with the same priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleIdentifier
The ID or Amazon Resource Name (ARN) of the rule.
- Parameters:
ruleIdentifier- The ID or Amazon Resource Name (ARN) of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-