Interface Listener.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Listener.Builder,
,Listener> SdkBuilder<Listener.Builder,
,Listener> SdkPojo
- Enclosing class:
Listener
-
Method Summary
Modifier and TypeMethodDescriptiondefault Listener.Builder
connectionPool
(Consumer<VirtualNodeConnectionPool.Builder> connectionPool) The connection pool information for the listener.connectionPool
(VirtualNodeConnectionPool connectionPool) The connection pool information for the listener.default Listener.Builder
healthCheck
(Consumer<HealthCheckPolicy.Builder> healthCheck) The health check information for the listener.healthCheck
(HealthCheckPolicy healthCheck) The health check information for the listener.default Listener.Builder
outlierDetection
(Consumer<OutlierDetection.Builder> outlierDetection) The outlier detection information for the listener.outlierDetection
(OutlierDetection outlierDetection) The outlier detection information for the listener.default Listener.Builder
portMapping
(Consumer<PortMapping.Builder> portMapping) The port mapping information for the listener.portMapping
(PortMapping portMapping) The port mapping information for the listener.default Listener.Builder
timeout
(Consumer<ListenerTimeout.Builder> timeout) An object that represents timeouts for different protocols.timeout
(ListenerTimeout timeout) An object that represents timeouts for different protocols.default Listener.Builder
tls
(Consumer<ListenerTls.Builder> tls) A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.tls
(ListenerTls tls) A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
connectionPool
The connection pool information for the listener.
- Parameters:
connectionPool
- The connection pool information for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionPool
The connection pool information for the listener.
This is a convenience method that creates an instance of theVirtualNodeConnectionPool.Builder
avoiding the need to create one manually viaVirtualNodeConnectionPool.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionPool(VirtualNodeConnectionPool)
.- Parameters:
connectionPool
- a consumer that will call methods onVirtualNodeConnectionPool.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
healthCheck
The health check information for the listener.
- Parameters:
healthCheck
- The health check information for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
The health check information for the listener.
This is a convenience method that creates an instance of theHealthCheckPolicy.Builder
avoiding the need to create one manually viaHealthCheckPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthCheck(HealthCheckPolicy)
.- Parameters:
healthCheck
- a consumer that will call methods onHealthCheckPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outlierDetection
The outlier detection information for the listener.
- Parameters:
outlierDetection
- The outlier detection information for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outlierDetection
The outlier detection information for the listener.
This is a convenience method that creates an instance of theOutlierDetection.Builder
avoiding the need to create one manually viaOutlierDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutlierDetection(OutlierDetection)
.- Parameters:
outlierDetection
- a consumer that will call methods onOutlierDetection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
portMapping
The port mapping information for the listener.
- Parameters:
portMapping
- The port mapping information for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portMapping
The port mapping information for the listener.
This is a convenience method that creates an instance of thePortMapping.Builder
avoiding the need to create one manually viaPortMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportMapping(PortMapping)
.- Parameters:
portMapping
- a consumer that will call methods onPortMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeout
An object that represents timeouts for different protocols.
- Parameters:
timeout
- An object that represents timeouts for different protocols.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
An object that represents timeouts for different protocols.
This is a convenience method that creates an instance of theListenerTimeout.Builder
avoiding the need to create one manually viaListenerTimeout.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeout(ListenerTimeout)
.- Parameters:
timeout
- a consumer that will call methods onListenerTimeout.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tls
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
- Parameters:
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tls
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
This is a convenience method that creates an instance of theListenerTls.Builder
avoiding the need to create one manually viaListenerTls.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totls(ListenerTls)
.- Parameters:
tls
- a consumer that will call methods onListenerTls.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-