Class Http2ConnectionPool.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.Http2ConnectionPool.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Http2ConnectionPool>
- Enclosing interface:
Http2ConnectionPool
@Stability(Stable)
public static final class Http2ConnectionPool.Builder
extends Object
implements software.amazon.jsii.Builder<Http2ConnectionPool>
A builder for
Http2ConnectionPool
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxRequests
(Number maxRequests) Sets the value ofHttp2ConnectionPool.getMaxRequests()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxRequests
Sets the value ofHttp2ConnectionPool.getMaxRequests()
- Parameters:
maxRequests
- The maximum requests in the pool. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<Http2ConnectionPool>
- Returns:
- a new instance of
Http2ConnectionPool
- Throws:
NullPointerException
- if any required attribute was not provided
-