Class CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty>
- Enclosing interface:
CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty
@Stability(Stable)
public static final class CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxConnections
(Number maxConnections) maxPendingRequests
(Number maxPendingRequests)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxConnections
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty.Builder maxConnections(Number maxConnections) - Parameters:
maxConnections
- Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster. This parameter is required.- Returns:
this
-
maxPendingRequests
@Stability(Stable) public CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty.Builder maxPendingRequests(Number maxPendingRequests) Sets the value ofCfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty.getMaxPendingRequests()
- Parameters:
maxPendingRequests
- Number of overflowing requests aftermax_connections
Envoy will queue to upstream cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty>
- Returns:
- a new instance of
CfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-