public static interface GetRuleResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetRuleResponse.Builder |
action(Consumer<RuleAction.Builder> action)
The action for the default rule.
|
GetRuleResponse.Builder |
action(RuleAction action)
The action for the default rule.
|
GetRuleResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
GetRuleResponse.Builder |
createdAt(Instant createdAt)
The date and time that the listener rule was created, specified in ISO-8601 format.
|
GetRuleResponse.Builder |
id(String id)
The ID of the listener.
|
GetRuleResponse.Builder |
isDefault(Boolean isDefault)
Indicates whether this is the default rule.
|
GetRuleResponse.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The date and time that the listener rule was last updated, specified in ISO-8601 format.
|
default GetRuleResponse.Builder |
match(Consumer<RuleMatch.Builder> match)
The rule match.
|
GetRuleResponse.Builder |
match(RuleMatch match)
The rule match.
|
GetRuleResponse.Builder |
name(String name)
The name of the listener.
|
GetRuleResponse.Builder |
priority(Integer priority)
The priority level for the specified rule.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRuleResponse.Builder action(RuleAction action)
The action for the default rule.
action - The action for the default rule.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.Builder avoiding the need to
create one manually via RuleAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to action(RuleAction).
action - a consumer that will call methods on RuleAction.Builderaction(RuleAction)GetRuleResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn - The Amazon Resource Name (ARN) of the listener.GetRuleResponse.Builder createdAt(Instant createdAt)
The date and time that the listener rule was created, specified in ISO-8601 format.
createdAt - The date and time that the listener rule was created, specified in ISO-8601 format.GetRuleResponse.Builder id(String id)
The ID of the listener.
id - The ID of the listener.GetRuleResponse.Builder isDefault(Boolean isDefault)
Indicates whether this is the default rule.
isDefault - Indicates whether this is the default rule.GetRuleResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time that the listener rule was last updated, specified in ISO-8601 format.
lastUpdatedAt - The date and time that the listener rule was last updated, specified in ISO-8601 format.GetRuleResponse.Builder match(RuleMatch match)
The rule match.
match - The rule match.default GetRuleResponse.Builder match(Consumer<RuleMatch.Builder> match)
The rule match.
This is a convenience method that creates an instance of theRuleMatch.Builder avoiding the need to
create one manually via RuleMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to match(RuleMatch).
match - a consumer that will call methods on RuleMatch.Buildermatch(RuleMatch)GetRuleResponse.Builder name(String name)
The name of the listener.
name - The name of the listener.GetRuleResponse.Builder priority(Integer priority)
The priority level for the specified rule.
priority - The priority level for the specified rule.Copyright © 2023. All rights reserved.