public static interface RuleUpdate.Builder extends SdkPojo, CopyableBuilder<RuleUpdate.Builder,RuleUpdate>
| Modifier and Type | Method and Description |
|---|---|
default RuleUpdate.Builder |
action(Consumer<RuleAction.Builder> action)
The rule action.
|
RuleUpdate.Builder |
action(RuleAction action)
The rule action.
|
default RuleUpdate.Builder |
match(Consumer<RuleMatch.Builder> match)
The rule match.
|
RuleUpdate.Builder |
match(RuleMatch match)
The rule match.
|
RuleUpdate.Builder |
priority(Integer priority)
The rule priority.
|
RuleUpdate.Builder |
ruleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuleUpdate.Builder action(RuleAction action)
The rule action.
action - The rule action.default RuleUpdate.Builder action(Consumer<RuleAction.Builder> action)
The rule action.
This is a convenience method that creates an instance of theRuleAction.Builder avoiding the need to
create one manually via RuleAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to action(RuleAction).
action - a consumer that will call methods on RuleAction.Builderaction(RuleAction)RuleUpdate.Builder match(RuleMatch match)
The rule match.
match - The rule match.default RuleUpdate.Builder match(Consumer<RuleMatch.Builder> match)
The rule match.
This is a convenience method that creates an instance of theRuleMatch.Builder avoiding the need to
create one manually via RuleMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to match(RuleMatch).
match - a consumer that will call methods on RuleMatch.Buildermatch(RuleMatch)RuleUpdate.Builder priority(Integer priority)
The rule priority. A listener can't have multiple rules with the same priority.
priority - The rule priority. A listener can't have multiple rules with the same priority.RuleUpdate.Builder ruleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
ruleIdentifier - The ID or Amazon Resource Name (ARN) of the rule.Copyright © 2023. All rights reserved.