public static interface CreateListenerResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<CreateListenerResponse.Builder,CreateListenerResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateListenerResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
default CreateListenerResponse.Builder |
defaultAction(Consumer<RuleAction.Builder> defaultAction)
The action for the default rule.
|
CreateListenerResponse.Builder |
defaultAction(RuleAction defaultAction)
The action for the default rule.
|
CreateListenerResponse.Builder |
id(String id)
The ID of the listener.
|
CreateListenerResponse.Builder |
name(String name)
The name of the listener.
|
CreateListenerResponse.Builder |
port(Integer port)
The port number of the listener.
|
CreateListenerResponse.Builder |
protocol(ListenerProtocol protocol)
The protocol of the listener.
|
CreateListenerResponse.Builder |
protocol(String protocol)
The protocol of the listener.
|
CreateListenerResponse.Builder |
serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
|
CreateListenerResponse.Builder |
serviceId(String serviceId)
The ID of the service.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateListenerResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn - The Amazon Resource Name (ARN) of the listener.CreateListenerResponse.Builder defaultAction(RuleAction defaultAction)
The action for the default rule.
defaultAction - The action for the default rule.default CreateListenerResponse.Builder defaultAction(Consumer<RuleAction.Builder> defaultAction)
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 defaultAction(RuleAction).
defaultAction - a consumer that will call methods on RuleAction.BuilderdefaultAction(RuleAction)CreateListenerResponse.Builder id(String id)
The ID of the listener.
id - The ID of the listener.CreateListenerResponse.Builder name(String name)
The name of the listener.
name - The name of the listener.CreateListenerResponse.Builder port(Integer port)
The port number of the listener.
port - The port number of the listener.CreateListenerResponse.Builder protocol(String protocol)
The protocol of the listener.
protocol - The protocol of the listener.ListenerProtocol,
ListenerProtocolCreateListenerResponse.Builder protocol(ListenerProtocol protocol)
The protocol of the listener.
protocol - The protocol of the listener.ListenerProtocol,
ListenerProtocolCreateListenerResponse.Builder serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
serviceArn - The Amazon Resource Name (ARN) of the service.CreateListenerResponse.Builder serviceId(String serviceId)
The ID of the service.
serviceId - The ID of the service.Copyright © 2023. All rights reserved.