Class GrpcConnectionPool.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.GrpcConnectionPool.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GrpcConnectionPool>
- Enclosing interface:
GrpcConnectionPool
@Stability(Stable)
public static final class GrpcConnectionPool.Builder
extends Object
implements software.amazon.jsii.Builder<GrpcConnectionPool>
A builder for
GrpcConnectionPool
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxRequests
(Number maxRequests) Sets the value ofGrpcConnectionPool.getMaxRequests()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxRequests
Sets the value ofGrpcConnectionPool.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<GrpcConnectionPool>
- Returns:
- a new instance of
GrpcConnectionPool
- Throws:
NullPointerException
- if any required attribute was not provided
-