@Stability(value=Stable) public static final class HttpConnectionPool.Builder extends Object implements software.amazon.jsii.Builder<HttpConnectionPool>
HttpConnectionPool| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpConnectionPool |
build()
Builds the configured instance.
|
HttpConnectionPool.Builder |
maxConnections(Number maxConnections)
Sets the value of
HttpConnectionPool.getMaxConnections() |
HttpConnectionPool.Builder |
maxPendingRequests(Number maxPendingRequests)
Sets the value of
HttpConnectionPool.getMaxPendingRequests() |
@Stability(value=Stable) public HttpConnectionPool.Builder maxConnections(Number maxConnections)
HttpConnectionPool.getMaxConnections()maxConnections - The maximum connections in the pool. This parameter is required.this@Stability(value=Stable) public HttpConnectionPool.Builder maxPendingRequests(Number maxPendingRequests)
HttpConnectionPool.getMaxPendingRequests()maxPendingRequests - The maximum pending requests in the pool. This parameter is required.this@Stability(value=Stable) public HttpConnectionPool build()
build in interface software.amazon.jsii.Builder<HttpConnectionPool>HttpConnectionPoolNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.