Interface VirtualGatewayListener.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualGatewayListener.Builder,VirtualGatewayListener>,SdkBuilder<VirtualGatewayListener.Builder,VirtualGatewayListener>,SdkPojo
- Enclosing class:
- VirtualGatewayListener
public static interface VirtualGatewayListener.Builder extends SdkPojo, CopyableBuilder<VirtualGatewayListener.Builder,VirtualGatewayListener>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VirtualGatewayListener.BuilderconnectionPool(Consumer<VirtualGatewayConnectionPool.Builder> connectionPool)The connection pool information for the virtual gateway listener.VirtualGatewayListener.BuilderconnectionPool(VirtualGatewayConnectionPool connectionPool)The connection pool information for the virtual gateway listener.default VirtualGatewayListener.BuilderhealthCheck(Consumer<VirtualGatewayHealthCheckPolicy.Builder> healthCheck)The health check information for the listener.VirtualGatewayListener.BuilderhealthCheck(VirtualGatewayHealthCheckPolicy healthCheck)The health check information for the listener.default VirtualGatewayListener.BuilderportMapping(Consumer<VirtualGatewayPortMapping.Builder> portMapping)The port mapping information for the listener.VirtualGatewayListener.BuilderportMapping(VirtualGatewayPortMapping portMapping)The port mapping information for the listener.default VirtualGatewayListener.Buildertls(Consumer<VirtualGatewayListenerTls.Builder> tls)A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.VirtualGatewayListener.Buildertls(VirtualGatewayListenerTls tls)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 Detail
-
connectionPool
VirtualGatewayListener.Builder connectionPool(VirtualGatewayConnectionPool 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.Builderavoiding the need to create one manually viaVirtualGatewayConnectionPool.builder().When the
Consumercompletes,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:
connectionPool(VirtualGatewayConnectionPool)
-
healthCheck
VirtualGatewayListener.Builder healthCheck(VirtualGatewayHealthCheckPolicy 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.Builderavoiding the need to create one manually viaVirtualGatewayHealthCheckPolicy.builder().When the
Consumercompletes,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:
healthCheck(VirtualGatewayHealthCheckPolicy)
-
portMapping
VirtualGatewayListener.Builder portMapping(VirtualGatewayPortMapping 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.Builderavoiding the need to create one manually viaVirtualGatewayPortMapping.builder().When the
Consumercompletes,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:
portMapping(VirtualGatewayPortMapping)
-
tls
VirtualGatewayListener.Builder tls(VirtualGatewayListenerTls 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
default VirtualGatewayListener.Builder tls(Consumer<VirtualGatewayListenerTls.Builder> 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.Builderavoiding the need to create one manually viaVirtualGatewayListenerTls.builder().When the
Consumercompletes,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:
tls(VirtualGatewayListenerTls)
-
-