public static interface CreateListenerRequest.Builder extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<CreateListenerRequest.Builder,CreateListenerRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateListenerRequest.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.CreateListenerRequest.Builder defaultAction(RuleAction defaultAction)
The action for the default rule. Each listener has a default rule. Each rule consists of a priority, one or
more actions, and one or more conditions. The default rule is the rule that's used if no other rules match.
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.
defaultAction - The action for the default rule. Each listener has a default rule. Each rule consists of a priority,
one or more actions, and one or more conditions. The default rule is the rule that's used if no other
rules match. 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 CreateListenerRequest.Builder defaultAction(Consumer<RuleAction.Builder> defaultAction)
The action for the default rule. Each listener has a default rule. Each rule consists of a priority, one or
more actions, and one or more conditions. The default rule is the rule that's used if no other rules match.
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 defaultAction(RuleAction).
defaultAction - a consumer that will call methods on RuleAction.BuilderdefaultAction(RuleAction)CreateListenerRequest.Builder name(String name)
The name of the listener. A listener name must be unique within a service. 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 listener. A listener name must be unique within a service. 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.CreateListenerRequest.Builder port(Integer port)
The listener port. You can specify a value from 1 to 65535. For HTTP, the default
is 80. For HTTPS, the default is 443.
port - The listener port. You can specify a value from 1 to 65535. For HTTP, the
default is 80. For HTTPS, the default is 443.CreateListenerRequest.Builder protocol(String protocol)
The listener protocol HTTP or HTTPS.
protocol - The listener protocol HTTP or HTTPS.ListenerProtocol,
ListenerProtocolCreateListenerRequest.Builder protocol(ListenerProtocol protocol)
The listener protocol HTTP or HTTPS.
protocol - The listener protocol HTTP or HTTPS.ListenerProtocol,
ListenerProtocolCreateListenerRequest.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.CreateListenerRequest.Builder tags(Map<String,String> tags)
The tags for the listener.
tags - The tags for the listener.CreateListenerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateListenerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.