Interface RuleUpdateSuccess.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleUpdateSuccess.Builder,
,RuleUpdateSuccess> SdkBuilder<RuleUpdateSuccess.Builder,
,RuleUpdateSuccess> SdkPojo
- Enclosing class:
RuleUpdateSuccess
@Mutable
@NotThreadSafe
public static interface RuleUpdateSuccess.Builder
extends SdkPojo, CopyableBuilder<RuleUpdateSuccess.Builder,RuleUpdateSuccess>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleUpdateSuccess.Builder
action
(Consumer<RuleAction.Builder> action) The action for the rule.action
(RuleAction action) The action for the rule.The Amazon Resource Name (ARN) of the listener.The ID of the listener.Indicates whether this is the default rule.default RuleUpdateSuccess.Builder
match
(Consumer<RuleMatch.Builder> match) The rule match.The rule match.The name of the listener.The rule priority.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 action for the rule.
- Parameters:
action
- The action for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action for the rule.
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:
-
arn
The Amazon Resource Name (ARN) of the listener.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the listener.
- Parameters:
id
- The ID of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDefault
Indicates whether this is the default rule.
- Parameters:
isDefault
- Indicates whether this is the default rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
name
The name of the listener.
- Parameters:
name
- The name of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The rule priority.
- Parameters:
priority
- The rule priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-