Class HttpGatewayListenerOptions.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.HttpGatewayListenerOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpGatewayListenerOptions>
- Enclosing interface:
HttpGatewayListenerOptions
@Stability(Stable)
public static final class HttpGatewayListenerOptions.Builder
extends Object
implements software.amazon.jsii.Builder<HttpGatewayListenerOptions>
A builder for
HttpGatewayListenerOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionPool(HttpConnectionPool connectionPool) Sets the value ofHttpGatewayListenerOptions.getConnectionPool()healthCheck(HealthCheck healthCheck) Sets the value ofHttpGatewayListenerOptions.getHealthCheck()Sets the value ofHttpGatewayListenerOptions.getPort()tls(ListenerTlsOptions tls) Sets the value ofHttpGatewayListenerOptions.getTls()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionPool
@Stability(Stable) public HttpGatewayListenerOptions.Builder connectionPool(HttpConnectionPool connectionPool) Sets the value ofHttpGatewayListenerOptions.getConnectionPool()- Parameters:
connectionPool- Connection pool for http listeners.- Returns:
this
-
healthCheck
Sets the value ofHttpGatewayListenerOptions.getHealthCheck()- Parameters:
healthCheck- The health check information for the listener.- Returns:
this
-
port
Sets the value ofHttpGatewayListenerOptions.getPort()- Parameters:
port- Port to listen for connections on.- Returns:
this
-
tls
Sets the value ofHttpGatewayListenerOptions.getTls()- Parameters:
tls- Represents the configuration for enabling TLS on a listener.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpGatewayListenerOptions>- Returns:
- a new instance of
HttpGatewayListenerOptions - Throws:
NullPointerException- if any required attribute was not provided
-