Interface UpdateRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRuleRequest.Builder,
,UpdateRuleRequest> SdkBuilder<UpdateRuleRequest.Builder,
,UpdateRuleRequest> SdkPojo
,SdkRequest.Builder
,VpcLatticeRequest.Builder
- Enclosing class:
UpdateRuleRequest
@Mutable
@NotThreadSafe
public static interface UpdateRuleRequest.Builder
extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateRuleRequest.Builder
action
(Consumer<RuleAction.Builder> action) Information about the action for the specified listener rule.action
(RuleAction action) Information about the action for the specified listener rule.listenerIdentifier
(String listenerIdentifier) The ID or ARN of the listener.default UpdateRuleRequest.Builder
match
(Consumer<RuleMatch.Builder> match) The rule match.The rule match.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The rule priority.ruleIdentifier
(String ruleIdentifier) The ID or ARN of the rule.serviceIdentifier
(String serviceIdentifier) The ID or ARN of the service.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
Method Details
-
action
Information about the action for the specified listener rule.
- Parameters:
action
- Information about the action for the specified listener rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Information about the action for the specified listener 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:
-
listenerIdentifier
The ID or ARN of the listener.
- Parameters:
listenerIdentifier
- The ID or ARN of the listener.- 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:
-
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.
-
serviceIdentifier
The ID or ARN of the service.
- Parameters:
serviceIdentifier
- The ID or ARN of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-