Interface UpdateRuleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateRuleResponse.Builder,UpdateRuleResponse>,SdkBuilder<UpdateRuleResponse.Builder,UpdateRuleResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- UpdateRuleResponse
public static interface UpdateRuleResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<UpdateRuleResponse.Builder,UpdateRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateRuleResponse.Builderaction(Consumer<RuleAction.Builder> action)Information about the action for the specified listener rule.UpdateRuleResponse.Builderaction(RuleAction action)Information about the action for the specified listener rule.UpdateRuleResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the listener.UpdateRuleResponse.Builderid(String id)The ID of the listener.UpdateRuleResponse.BuilderisDefault(Boolean isDefault)Indicates whether this is the default rule.default UpdateRuleResponse.Buildermatch(Consumer<RuleMatch.Builder> match)The rule match.UpdateRuleResponse.Buildermatch(RuleMatch match)The rule match.UpdateRuleResponse.Buildername(String name)The name of the listener.UpdateRuleResponse.Builderpriority(Integer priority)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
action
UpdateRuleResponse.Builder action(RuleAction 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
default UpdateRuleResponse.Builder action(Consumer<RuleAction.Builder> action)
Information about the action for the specified listener rule.
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)
-
arn
UpdateRuleResponse.Builder arn(String 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
UpdateRuleResponse.Builder id(String 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
UpdateRuleResponse.Builder isDefault(Boolean 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
UpdateRuleResponse.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 UpdateRuleResponse.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)
-
name
UpdateRuleResponse.Builder name(String 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
UpdateRuleResponse.Builder priority(Integer priority)
The rule priority.
- Parameters:
priority- The rule priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-