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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleUpdate.Builderaction(Consumer<RuleAction.Builder> action)The rule action.RuleUpdate.Builderaction(RuleAction action)The rule action.default RuleUpdate.Buildermatch(Consumer<RuleMatch.Builder> match)The rule match.RuleUpdate.Buildermatch(RuleMatch match)The rule match.RuleUpdate.Builderpriority(Integer priority)The rule priority.RuleUpdate.BuilderruleIdentifier(String ruleIdentifier)The ID or Amazon Resource Name (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, sdkFields
-
-
-
-
Method Detail
-
action
RuleUpdate.Builder action(RuleAction 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
default RuleUpdate.Builder action(Consumer<RuleAction.Builder> 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:
action(RuleAction)
-
match
RuleUpdate.Builder match(RuleMatch 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
default RuleUpdate.Builder match(Consumer<RuleMatch.Builder> 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:
match(RuleMatch)
-
priority
RuleUpdate.Builder priority(Integer 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
RuleUpdate.Builder ruleIdentifier(String 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.
-
-