public static interface Listener.Builder extends SdkPojo, CopyableBuilder<Listener.Builder,Listener>
| Modifier and Type | Method and Description |
|---|---|
default Listener.Builder |
connectionPool(Consumer<VirtualNodeConnectionPool.Builder> connectionPool)
The connection pool information for the listener.
|
Listener.Builder |
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.
|
Listener.Builder |
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.
|
Listener.Builder |
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.
|
Listener.Builder |
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.
|
Listener.Builder |
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.
|
Listener.Builder |
tls(ListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildListener.Builder connectionPool(VirtualNodeConnectionPool connectionPool)
The connection pool information for the listener.
connectionPool - The connection pool information for the listener.default Listener.Builder connectionPool(Consumer<VirtualNodeConnectionPool.Builder> connectionPool)
The connection pool information for the listener.
This is a convenience that creates an instance of theVirtualNodeConnectionPool.Builder avoiding the
need to create one manually via VirtualNodeConnectionPool.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to connectionPool(VirtualNodeConnectionPool).connectionPool - a consumer that will call methods on VirtualNodeConnectionPool.BuilderconnectionPool(VirtualNodeConnectionPool)Listener.Builder healthCheck(HealthCheckPolicy healthCheck)
The health check information for the listener.
healthCheck - The health check information for the listener.default Listener.Builder healthCheck(Consumer<HealthCheckPolicy.Builder> healthCheck)
The health check information for the listener.
This is a convenience that creates an instance of theHealthCheckPolicy.Builder avoiding the need to
create one manually via HealthCheckPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to healthCheck(HealthCheckPolicy).healthCheck - a consumer that will call methods on HealthCheckPolicy.BuilderhealthCheck(HealthCheckPolicy)Listener.Builder outlierDetection(OutlierDetection outlierDetection)
The outlier detection information for the listener.
outlierDetection - The outlier detection information for the listener.default Listener.Builder outlierDetection(Consumer<OutlierDetection.Builder> outlierDetection)
The outlier detection information for the listener.
This is a convenience that creates an instance of theOutlierDetection.Builder avoiding the need to
create one manually via OutlierDetection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to outlierDetection(OutlierDetection).outlierDetection - a consumer that will call methods on OutlierDetection.BuilderoutlierDetection(OutlierDetection)Listener.Builder portMapping(PortMapping portMapping)
The port mapping information for the listener.
portMapping - The port mapping information for the listener.default Listener.Builder portMapping(Consumer<PortMapping.Builder> portMapping)
The port mapping information for the listener.
This is a convenience that creates an instance of thePortMapping.Builder avoiding the need to create
one manually via PortMapping.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to portMapping(PortMapping).portMapping - a consumer that will call methods on PortMapping.BuilderportMapping(PortMapping)Listener.Builder timeout(ListenerTimeout timeout)
An object that represents timeouts for different protocols.
timeout - An object that represents timeouts for different protocols.default Listener.Builder timeout(Consumer<ListenerTimeout.Builder> timeout)
An object that represents timeouts for different protocols.
This is a convenience that creates an instance of theListenerTimeout.Builder avoiding the need to
create one manually via ListenerTimeout.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timeout(ListenerTimeout).timeout - a consumer that will call methods on ListenerTimeout.Buildertimeout(ListenerTimeout)Listener.Builder tls(ListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
tls - A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.default Listener.Builder tls(Consumer<ListenerTls.Builder> tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
This is a convenience that creates an instance of theListenerTls.Builder avoiding the need to create
one manually via ListenerTls.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to tls(ListenerTls).tls - a consumer that will call methods on ListenerTls.Buildertls(ListenerTls)Copyright © 2021. All rights reserved.