Interface VirtualGatewayConnectionPool.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualGatewayConnectionPool.Builder,,VirtualGatewayConnectionPool> SdkBuilder<VirtualGatewayConnectionPool.Builder,,VirtualGatewayConnectionPool> SdkPojo
- Enclosing class:
VirtualGatewayConnectionPool
-
Method Summary
Modifier and TypeMethodDescriptionAn object that represents a type of connection pool.An object that represents a type of connection pool.An object that represents a type of connection pool.An object that represents a type of connection pool.An object that represents a type of connection pool.An object that represents a type of connection pool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
grpc
An object that represents a type of connection pool.
- Parameters:
grpc- An object that represents a type of connection pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grpc
default VirtualGatewayConnectionPool.Builder grpc(Consumer<VirtualGatewayGrpcConnectionPool.Builder> grpc) An object that represents a type of connection pool.
This is a convenience method that creates an instance of theVirtualGatewayGrpcConnectionPool.Builderavoiding the need to create one manually viaVirtualGatewayGrpcConnectionPool.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togrpc(VirtualGatewayGrpcConnectionPool).- Parameters:
grpc- a consumer that will call methods onVirtualGatewayGrpcConnectionPool.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
http
An object that represents a type of connection pool.
- Parameters:
http- An object that represents a type of connection pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http
default VirtualGatewayConnectionPool.Builder http(Consumer<VirtualGatewayHttpConnectionPool.Builder> http) An object that represents a type of connection pool.
This is a convenience method that creates an instance of theVirtualGatewayHttpConnectionPool.Builderavoiding the need to create one manually viaVirtualGatewayHttpConnectionPool.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttp(VirtualGatewayHttpConnectionPool).- Parameters:
http- a consumer that will call methods onVirtualGatewayHttpConnectionPool.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
http2
An object that represents a type of connection pool.
- Parameters:
http2- An object that represents a type of connection pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http2
default VirtualGatewayConnectionPool.Builder http2(Consumer<VirtualGatewayHttp2ConnectionPool.Builder> http2) An object that represents a type of connection pool.
This is a convenience method that creates an instance of theVirtualGatewayHttp2ConnectionPool.Builderavoiding the need to create one manually viaVirtualGatewayHttp2ConnectionPool.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttp2(VirtualGatewayHttp2ConnectionPool).- Parameters:
http2- a consumer that will call methods onVirtualGatewayHttp2ConnectionPool.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-