Interface GetRuleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>,SdkBuilder<GetRuleResponse.Builder,GetRuleResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- GetRuleResponse
public static interface GetRuleResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetRuleResponse.Builderaction(Consumer<RuleAction.Builder> action)The action for the default rule.GetRuleResponse.Builderaction(RuleAction action)The action for the default rule.GetRuleResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the listener.GetRuleResponse.BuildercreatedAt(Instant createdAt)The date and time that the listener rule was created, specified in ISO-8601 format.GetRuleResponse.Builderid(String id)The ID of the listener.GetRuleResponse.BuilderisDefault(Boolean isDefault)Indicates whether this is the default rule.GetRuleResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time that the listener rule was last updated, specified in ISO-8601 format.default GetRuleResponse.Buildermatch(Consumer<RuleMatch.Builder> match)The rule match.GetRuleResponse.Buildermatch(RuleMatch match)The rule match.GetRuleResponse.Buildername(String name)The name of the listener.GetRuleResponse.Builderpriority(Integer priority)The priority level for the specified 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
-
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
GetRuleResponse.Builder action(RuleAction action)
The action for the default rule.
- Parameters:
action- The action for the default rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
default GetRuleResponse.Builder action(Consumer<RuleAction.Builder> action)
The action for the default 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
GetRuleResponse.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.
-
createdAt
GetRuleResponse.Builder createdAt(Instant createdAt)
The date and time that the listener rule was created, specified in ISO-8601 format.
- Parameters:
createdAt- The date and time that the listener rule was created, specified in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
GetRuleResponse.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
GetRuleResponse.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.
-
lastUpdatedAt
GetRuleResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time that the listener rule was last updated, specified in ISO-8601 format.
- Parameters:
lastUpdatedAt- The date and time that the listener rule was last updated, specified in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
GetRuleResponse.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 GetRuleResponse.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
GetRuleResponse.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
GetRuleResponse.Builder priority(Integer priority)
The priority level for the specified rule.
- Parameters:
priority- The priority level for the specified rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-