Interface VirtualGatewayListener.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualGatewayListener.Builder,
,VirtualGatewayListener> SdkBuilder<VirtualGatewayListener.Builder,
,VirtualGatewayListener> SdkPojo
- Enclosing class:
VirtualGatewayListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault VirtualGatewayListener.Builder
connectionPool
(Consumer<VirtualGatewayConnectionPool.Builder> connectionPool) The connection pool information for the virtual gateway listener.connectionPool
(VirtualGatewayConnectionPool connectionPool) The connection pool information for the virtual gateway listener.default VirtualGatewayListener.Builder
healthCheck
(Consumer<VirtualGatewayHealthCheckPolicy.Builder> healthCheck) The health check information for the listener.healthCheck
(VirtualGatewayHealthCheckPolicy healthCheck) The health check information for the listener.default VirtualGatewayListener.Builder
portMapping
(Consumer<VirtualGatewayPortMapping.Builder> portMapping) The port mapping information for the listener.portMapping
(VirtualGatewayPortMapping portMapping) The port mapping information for the listener.default VirtualGatewayListener.Builder
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.A reference to an object that represents the Transport Layer Security (TLS) properties for the 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 virtual gateway listener.
- Parameters:
connectionPool
- The connection pool information for the virtual gateway listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionPool
default VirtualGatewayListener.Builder connectionPool(Consumer<VirtualGatewayConnectionPool.Builder> connectionPool) The connection pool information for the virtual gateway listener.
This is a convenience method that creates an instance of theVirtualGatewayConnectionPool.Builder
avoiding the need to create one manually viaVirtualGatewayConnectionPool.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionPool(VirtualGatewayConnectionPool)
.- Parameters:
connectionPool
- a consumer that will call methods onVirtualGatewayConnectionPool.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
default VirtualGatewayListener.Builder healthCheck(Consumer<VirtualGatewayHealthCheckPolicy.Builder> healthCheck) The health check information for the listener.
This is a convenience method that creates an instance of theVirtualGatewayHealthCheckPolicy.Builder
avoiding the need to create one manually viaVirtualGatewayHealthCheckPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthCheck(VirtualGatewayHealthCheckPolicy)
.- Parameters:
healthCheck
- a consumer that will call methods onVirtualGatewayHealthCheckPolicy.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
default VirtualGatewayListener.Builder portMapping(Consumer<VirtualGatewayPortMapping.Builder> portMapping) The port mapping information for the listener.
This is a convenience method that creates an instance of theVirtualGatewayPortMapping.Builder
avoiding the need to create one manually viaVirtualGatewayPortMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportMapping(VirtualGatewayPortMapping)
.- Parameters:
portMapping
- a consumer that will call methods onVirtualGatewayPortMapping.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 the listener.
- Parameters:
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for the 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 the listener.
This is a convenience method that creates an instance of theVirtualGatewayListenerTls.Builder
avoiding the need to create one manually viaVirtualGatewayListenerTls.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totls(VirtualGatewayListenerTls)
.- Parameters:
tls
- a consumer that will call methods onVirtualGatewayListenerTls.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-