@Stability(value=Stable) public static final class HttpGatewayListenerOptions.Builder extends Object implements software.amazon.jsii.Builder<HttpGatewayListenerOptions>
HttpGatewayListenerOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpGatewayListenerOptions |
build()
Builds the configured instance.
|
HttpGatewayListenerOptions.Builder |
connectionPool(HttpConnectionPool connectionPool)
Sets the value of
HttpGatewayListenerOptions.getConnectionPool() |
HttpGatewayListenerOptions.Builder |
healthCheck(HealthCheck healthCheck)
Sets the value of
HttpGatewayListenerOptions.getHealthCheck() |
HttpGatewayListenerOptions.Builder |
port(Number port)
Sets the value of
HttpGatewayListenerOptions.getPort() |
HttpGatewayListenerOptions.Builder |
tls(ListenerTlsOptions tls)
Sets the value of
HttpGatewayListenerOptions.getTls() |
@Stability(value=Stable) public HttpGatewayListenerOptions.Builder connectionPool(HttpConnectionPool connectionPool)
HttpGatewayListenerOptions.getConnectionPool()connectionPool - Connection pool for http listeners.this@Stability(value=Stable) public HttpGatewayListenerOptions.Builder healthCheck(HealthCheck healthCheck)
HttpGatewayListenerOptions.getHealthCheck()healthCheck - The health check information for the listener.this@Stability(value=Stable) public HttpGatewayListenerOptions.Builder port(Number port)
HttpGatewayListenerOptions.getPort()port - Port to listen for connections on.this@Stability(value=Stable) public HttpGatewayListenerOptions.Builder tls(ListenerTlsOptions tls)
HttpGatewayListenerOptions.getTls()tls - Represents the configuration for enabling TLS on a listener.this@Stability(value=Stable) public HttpGatewayListenerOptions build()
build in interface software.amazon.jsii.Builder<HttpGatewayListenerOptions>HttpGatewayListenerOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.