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