public static final class CfnVirtualNode.ListenerProperty.Builder
extends java.lang.Object
CfnVirtualNode.ListenerProperty
Constructor and Description |
---|
Builder() |
public CfnVirtualNode.ListenerProperty.Builder portMapping(IResolvable portMapping)
CfnVirtualNode.ListenerProperty.getPortMapping()
portMapping
- The port mapping information for the listener. This parameter is required.this
public CfnVirtualNode.ListenerProperty.Builder portMapping(CfnVirtualNode.PortMappingProperty portMapping)
CfnVirtualNode.ListenerProperty.getPortMapping()
portMapping
- The port mapping information for the listener. This parameter is required.this
public CfnVirtualNode.ListenerProperty.Builder connectionPool(IResolvable connectionPool)
CfnVirtualNode.ListenerProperty.getConnectionPool()
connectionPool
- The connection pool information for the listener.this
public CfnVirtualNode.ListenerProperty.Builder connectionPool(CfnVirtualNode.VirtualNodeConnectionPoolProperty connectionPool)
CfnVirtualNode.ListenerProperty.getConnectionPool()
connectionPool
- The connection pool information for the listener.this
public CfnVirtualNode.ListenerProperty.Builder healthCheck(IResolvable healthCheck)
CfnVirtualNode.ListenerProperty.getHealthCheck()
healthCheck
- The health check information for the listener.this
public CfnVirtualNode.ListenerProperty.Builder healthCheck(CfnVirtualNode.HealthCheckProperty healthCheck)
CfnVirtualNode.ListenerProperty.getHealthCheck()
healthCheck
- The health check information for the listener.this
public CfnVirtualNode.ListenerProperty.Builder outlierDetection(IResolvable outlierDetection)
CfnVirtualNode.ListenerProperty.getOutlierDetection()
outlierDetection
- The outlier detection information for the listener.this
public CfnVirtualNode.ListenerProperty.Builder outlierDetection(CfnVirtualNode.OutlierDetectionProperty outlierDetection)
CfnVirtualNode.ListenerProperty.getOutlierDetection()
outlierDetection
- The outlier detection information for the listener.this
public CfnVirtualNode.ListenerProperty.Builder timeout(IResolvable timeout)
CfnVirtualNode.ListenerProperty.getTimeout()
timeout
- An object that represents timeouts for different protocols.this
public CfnVirtualNode.ListenerProperty.Builder timeout(CfnVirtualNode.ListenerTimeoutProperty timeout)
CfnVirtualNode.ListenerProperty.getTimeout()
timeout
- An object that represents timeouts for different protocols.this
public CfnVirtualNode.ListenerProperty.Builder tls(IResolvable tls)
CfnVirtualNode.ListenerProperty.getTls()
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.this
public CfnVirtualNode.ListenerProperty.Builder tls(CfnVirtualNode.ListenerTlsProperty tls)
CfnVirtualNode.ListenerProperty.getTls()
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.this
public CfnVirtualNode.ListenerProperty build()
CfnVirtualNode.ListenerProperty
java.lang.NullPointerException
- if any required attribute was not provided