public static final class CfnVirtualGateway.VirtualGatewayListenerProperty.Builder
extends java.lang.Object
CfnVirtualGateway.VirtualGatewayListenerProperty
Constructor and Description |
---|
Builder() |
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder portMapping(IResolvable portMapping)
CfnVirtualGateway.VirtualGatewayListenerProperty.getPortMapping()
portMapping
- The port mapping information for the listener. This parameter is required.this
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder portMapping(CfnVirtualGateway.VirtualGatewayPortMappingProperty portMapping)
CfnVirtualGateway.VirtualGatewayListenerProperty.getPortMapping()
portMapping
- The port mapping information for the listener. This parameter is required.this
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder connectionPool(IResolvable connectionPool)
CfnVirtualGateway.VirtualGatewayListenerProperty.getConnectionPool()
connectionPool
- The connection pool information for the listener.this
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder connectionPool(CfnVirtualGateway.VirtualGatewayConnectionPoolProperty connectionPool)
CfnVirtualGateway.VirtualGatewayListenerProperty.getConnectionPool()
connectionPool
- The connection pool information for the listener.this
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder healthCheck(IResolvable healthCheck)
CfnVirtualGateway.VirtualGatewayListenerProperty.getHealthCheck()
healthCheck
- The health check information for the listener.this
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder healthCheck(CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty healthCheck)
CfnVirtualGateway.VirtualGatewayListenerProperty.getHealthCheck()
healthCheck
- The health check information for the listener.this
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder tls(IResolvable tls)
CfnVirtualGateway.VirtualGatewayListenerProperty.getTls()
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.this
public CfnVirtualGateway.VirtualGatewayListenerProperty.Builder tls(CfnVirtualGateway.VirtualGatewayListenerTlsProperty tls)
CfnVirtualGateway.VirtualGatewayListenerProperty.getTls()
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.this
public CfnVirtualGateway.VirtualGatewayListenerProperty build()
CfnVirtualGateway.VirtualGatewayListenerProperty
java.lang.NullPointerException
- if any required attribute was not provided