public static interface CreateRuleResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateRuleResponse.Builder |
action(Consumer<RuleAction.Builder> action)
The rule action.
|
CreateRuleResponse.Builder |
action(RuleAction action)
The rule action.
|
CreateRuleResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the rule.
|
CreateRuleResponse.Builder |
id(String id)
The ID of the rule.
|
default CreateRuleResponse.Builder |
match(Consumer<RuleMatch.Builder> match)
The rule match.
|
CreateRuleResponse.Builder |
match(RuleMatch match)
The rule match.
|
CreateRuleResponse.Builder |
name(String name)
The name of the rule.
|
CreateRuleResponse.Builder |
priority(Integer priority)
The priority assigned to the rule.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRuleResponse.Builder action(RuleAction action)
The rule action. Each rule must include exactly one of the following types of actions: forward
or fixed-response, and it must be the last action to be performed.
action - The rule action. Each rule must include exactly one of the following types of actions:
forward or fixed-response, and it must be the last action to be performed.default CreateRuleResponse.Builder action(Consumer<RuleAction.Builder> action)
The rule action. Each rule must include exactly one of the following types of actions: forward
or fixed-response, and it must be the last action to be performed.
RuleAction.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)CreateRuleResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the rule.
arn - The Amazon Resource Name (ARN) of the rule.CreateRuleResponse.Builder id(String id)
The ID of the rule.
id - The ID of the rule.CreateRuleResponse.Builder match(RuleMatch match)
The rule match. The RuleMatch must be an HttpMatch. This means that the rule should
be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
match - The rule match. The RuleMatch must be an HttpMatch. This means that the rule
should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.default CreateRuleResponse.Builder match(Consumer<RuleMatch.Builder> match)
The rule match. The RuleMatch must be an HttpMatch. This means that the rule should
be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
RuleMatch.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)CreateRuleResponse.Builder name(String name)
The name of the rule.
name - The name of the rule.CreateRuleResponse.Builder priority(Integer priority)
The priority assigned to the rule. The lower the priority number the higher the priority.
priority - The priority assigned to the rule. The lower the priority number the higher the priority.Copyright © 2023. All rights reserved.