Interface Listener.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Listener.Builder,Listener>,SdkBuilder<Listener.Builder,Listener>,SdkPojo
- Enclosing class:
- Listener
public static interface Listener.Builder extends SdkPojo, CopyableBuilder<Listener.Builder,Listener>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Listener.BuilderconnectionPool(Consumer<VirtualNodeConnectionPool.Builder> connectionPool)The connection pool information for the listener.Listener.BuilderconnectionPool(VirtualNodeConnectionPool connectionPool)The connection pool information for the listener.default Listener.BuilderhealthCheck(Consumer<HealthCheckPolicy.Builder> healthCheck)The health check information for the listener.Listener.BuilderhealthCheck(HealthCheckPolicy healthCheck)The health check information for the listener.default Listener.BuilderoutlierDetection(Consumer<OutlierDetection.Builder> outlierDetection)The outlier detection information for the listener.Listener.BuilderoutlierDetection(OutlierDetection outlierDetection)The outlier detection information for the listener.default Listener.BuilderportMapping(Consumer<PortMapping.Builder> portMapping)The port mapping information for the listener.Listener.BuilderportMapping(PortMapping portMapping)The port mapping information for the listener.default Listener.Buildertimeout(Consumer<ListenerTimeout.Builder> timeout)An object that represents timeouts for different protocols.Listener.Buildertimeout(ListenerTimeout timeout)An object that represents timeouts for different protocols.default Listener.Buildertls(Consumer<ListenerTls.Builder> tls)A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.Listener.Buildertls(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 Detail
-
connectionPool
Listener.Builder connectionPool(VirtualNodeConnectionPool 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
default Listener.Builder connectionPool(Consumer<VirtualNodeConnectionPool.Builder> connectionPool)
The connection pool information for the listener.
This is a convenience method that creates an instance of theVirtualNodeConnectionPool.Builderavoiding the need to create one manually viaVirtualNodeConnectionPool.builder().When the
Consumercompletes,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:
connectionPool(VirtualNodeConnectionPool)
-
healthCheck
Listener.Builder healthCheck(HealthCheckPolicy 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
default Listener.Builder healthCheck(Consumer<HealthCheckPolicy.Builder> healthCheck)
The health check information for the listener.
This is a convenience method that creates an instance of theHealthCheckPolicy.Builderavoiding the need to create one manually viaHealthCheckPolicy.builder().When the
Consumercompletes,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:
healthCheck(HealthCheckPolicy)
-
outlierDetection
Listener.Builder outlierDetection(OutlierDetection 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
default Listener.Builder outlierDetection(Consumer<OutlierDetection.Builder> outlierDetection)
The outlier detection information for the listener.
This is a convenience method that creates an instance of theOutlierDetection.Builderavoiding the need to create one manually viaOutlierDetection.builder().When the
Consumercompletes,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:
outlierDetection(OutlierDetection)
-
portMapping
Listener.Builder portMapping(PortMapping 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
default Listener.Builder portMapping(Consumer<PortMapping.Builder> portMapping)
The port mapping information for the listener.
This is a convenience method that creates an instance of thePortMapping.Builderavoiding the need to create one manually viaPortMapping.builder().When the
Consumercompletes,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:
portMapping(PortMapping)
-
timeout
Listener.Builder timeout(ListenerTimeout 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
default Listener.Builder timeout(Consumer<ListenerTimeout.Builder> timeout)
An object that represents timeouts for different protocols.
This is a convenience method that creates an instance of theListenerTimeout.Builderavoiding the need to create one manually viaListenerTimeout.builder().When the
Consumercompletes,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:
timeout(ListenerTimeout)
-
tls
Listener.Builder tls(ListenerTls 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
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 method that creates an instance of theListenerTls.Builderavoiding the need to create one manually viaListenerTls.builder().When the
Consumercompletes,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:
tls(ListenerTls)
-
-