public static interface GetListenerResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<GetListenerResponse.Builder,GetListenerResponse>
| Modifier and Type | Method and Description |
|---|---|
GetListenerResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the listener.
|
GetListenerResponse.Builder |
createdAt(Instant createdAt)
The date and time that the listener was created, specified in ISO-8601 format.
|
default GetListenerResponse.Builder |
defaultAction(Consumer<RuleAction.Builder> defaultAction)
The actions for the default listener rule.
|
GetListenerResponse.Builder |
defaultAction(RuleAction defaultAction)
The actions for the default listener rule.
|
GetListenerResponse.Builder |
id(String id)
The ID of the listener.
|
GetListenerResponse.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The date and time that the listener was last updated, specified in ISO-8601 format.
|
GetListenerResponse.Builder |
name(String name)
The name of the listener.
|
GetListenerResponse.Builder |
port(Integer port)
The listener port.
|
GetListenerResponse.Builder |
protocol(ListenerProtocol protocol)
The listener protocol.
|
GetListenerResponse.Builder |
protocol(String protocol)
The listener protocol.
|
GetListenerResponse.Builder |
serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
|
GetListenerResponse.Builder |
serviceId(String serviceId)
The ID of the service.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetListenerResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the listener.
arn - The Amazon Resource Name (ARN) of the listener.GetListenerResponse.Builder createdAt(Instant createdAt)
The date and time that the listener was created, specified in ISO-8601 format.
createdAt - The date and time that the listener was created, specified in ISO-8601 format.GetListenerResponse.Builder defaultAction(RuleAction defaultAction)
The actions for the default listener rule.
defaultAction - The actions for the default listener rule.default GetListenerResponse.Builder defaultAction(Consumer<RuleAction.Builder> defaultAction)
The actions for the default listener 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)GetListenerResponse.Builder id(String id)
The ID of the listener.
id - The ID of the listener.GetListenerResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time that the listener was last updated, specified in ISO-8601 format.
lastUpdatedAt - The date and time that the listener was last updated, specified in ISO-8601 format.GetListenerResponse.Builder name(String name)
The name of the listener.
name - The name of the listener.GetListenerResponse.Builder port(Integer port)
The listener port.
port - The listener port.GetListenerResponse.Builder protocol(String protocol)
The listener protocol.
protocol - The listener protocol.ListenerProtocol,
ListenerProtocolGetListenerResponse.Builder protocol(ListenerProtocol protocol)
The listener protocol.
protocol - The listener protocol.ListenerProtocol,
ListenerProtocolGetListenerResponse.Builder serviceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service.
serviceArn - The Amazon Resource Name (ARN) of the service.GetListenerResponse.Builder serviceId(String serviceId)
The ID of the service.
serviceId - The ID of the service.Copyright © 2023. All rights reserved.