Interface RuleUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleUpdate.Builder,
,RuleUpdate> SdkBuilder<RuleUpdate.Builder,
,RuleUpdate> SdkPojo
- Enclosing class:
RuleUpdate
@Mutable
@NotThreadSafe
public static interface RuleUpdate.Builder
extends SdkPojo, CopyableBuilder<RuleUpdate.Builder,RuleUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleUpdate.Builder
action
(Consumer<RuleAction.Builder> action) The rule action.action
(RuleAction action) The rule action.default RuleUpdate.Builder
match
(Consumer<RuleMatch.Builder> match) The rule match.The rule match.The rule priority.ruleIdentifier
(String ruleIdentifier) The ID or ARN of the rule.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, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaRuleAction.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaRuleMatch.builder()
.When the
Consumer
completes,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 ARN of the rule.
- Parameters:
ruleIdentifier
- The ID or ARN of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-