Class CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty>
- Enclosing interface:
CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty
@Stability(Stable)
public static final class CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty>
A builder for
CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxRequests
(Number maxRequests) Sets the value ofCfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty.getMaxRequests()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxRequests
@Stability(Stable) public CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty.Builder maxRequests(Number maxRequests) Sets the value ofCfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty.getMaxRequests()
- Parameters:
maxRequests
- Maximum number of inflight requests Envoy can concurrently support across hosts in upstream cluster. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty>
- Returns:
- a new instance of
CfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-