public static interface CreateRuleRequest.Builder extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRuleRequest.Builder action(RuleAction action)
The action for the default rule.
action - The action for the default rule.default CreateRuleRequest.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)CreateRuleRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you
retry a request that completed successfully using the same client token and parameters, the retry
succeeds without performing any actions. If the parameters aren't identical, the retry fails.CreateRuleRequest.Builder listenerIdentifier(String listenerIdentifier)
The ID or Amazon Resource Name (ARN) of the listener.
listenerIdentifier - The ID or Amazon Resource Name (ARN) of the listener.CreateRuleRequest.Builder match(RuleMatch match)
The rule match.
match - The rule match.default CreateRuleRequest.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)CreateRuleRequest.Builder name(String name)
The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
name - The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9,
and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another
hyphen.CreateRuleRequest.Builder priority(Integer priority)
The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
priority - The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The
lower the priority number the higher the priority.CreateRuleRequest.Builder serviceIdentifier(String serviceIdentifier)
The ID or Amazon Resource Name (ARN) of the service.
serviceIdentifier - The ID or Amazon Resource Name (ARN) of the service.CreateRuleRequest.Builder tags(Map<String,String> tags)
The tags for the rule.
tags - The tags for the rule.CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.