@Generated(value="software.amazon.awssdk:codegen") public final class VirtualGatewayConnectionPool extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualGatewayConnectionPool.Builder,VirtualGatewayConnectionPool>
An object that represents the type of virtual gateway connection pool.
Only one protocol is used at a time and should be the same protocol as the one chosen under port mapping.
If not present the default value for maxPendingRequests is 2147483647.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VirtualGatewayConnectionPool.Builder |
static class |
VirtualGatewayConnectionPool.Type |
| Modifier and Type | Method and Description |
|---|---|
static VirtualGatewayConnectionPool.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static VirtualGatewayConnectionPool |
fromGrpc(Consumer<VirtualGatewayGrpcConnectionPool.Builder> grpc)
Create an instance of this class with
grpc() initialized to the given value. |
static VirtualGatewayConnectionPool |
fromGrpc(VirtualGatewayGrpcConnectionPool grpc)
Create an instance of this class with
grpc() initialized to the given value. |
static VirtualGatewayConnectionPool |
fromHttp(Consumer<VirtualGatewayHttpConnectionPool.Builder> http)
Create an instance of this class with
http() initialized to the given value. |
static VirtualGatewayConnectionPool |
fromHttp(VirtualGatewayHttpConnectionPool http)
Create an instance of this class with
http() initialized to the given value. |
static VirtualGatewayConnectionPool |
fromHttp2(Consumer<VirtualGatewayHttp2ConnectionPool.Builder> http2)
Create an instance of this class with
http2() initialized to the given value. |
static VirtualGatewayConnectionPool |
fromHttp2(VirtualGatewayHttp2ConnectionPool http2)
Create an instance of this class with
http2() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
VirtualGatewayGrpcConnectionPool |
grpc()
An object that represents a type of connection pool.
|
int |
hashCode() |
VirtualGatewayHttpConnectionPool |
http()
An object that represents a type of connection pool.
|
VirtualGatewayHttp2ConnectionPool |
http2()
An object that represents a type of connection pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VirtualGatewayConnectionPool.Builder> |
serializableBuilderClass() |
VirtualGatewayConnectionPool.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VirtualGatewayConnectionPool.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final VirtualGatewayGrpcConnectionPool grpc()
An object that represents a type of connection pool.
public final VirtualGatewayHttpConnectionPool http()
An object that represents a type of connection pool.
public final VirtualGatewayHttp2ConnectionPool http2()
An object that represents a type of connection pool.
public VirtualGatewayConnectionPool.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VirtualGatewayConnectionPool.Builder,VirtualGatewayConnectionPool>public static VirtualGatewayConnectionPool.Builder builder()
public static Class<? extends VirtualGatewayConnectionPool.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static VirtualGatewayConnectionPool fromGrpc(VirtualGatewayGrpcConnectionPool grpc)
grpc() initialized to the given value.
An object that represents a type of connection pool.
grpc - An object that represents a type of connection pool.public static VirtualGatewayConnectionPool fromGrpc(Consumer<VirtualGatewayGrpcConnectionPool.Builder> grpc)
grpc() initialized to the given value.
An object that represents a type of connection pool.
grpc - An object that represents a type of connection pool.public static VirtualGatewayConnectionPool fromHttp(VirtualGatewayHttpConnectionPool http)
http() initialized to the given value.
An object that represents a type of connection pool.
http - An object that represents a type of connection pool.public static VirtualGatewayConnectionPool fromHttp(Consumer<VirtualGatewayHttpConnectionPool.Builder> http)
http() initialized to the given value.
An object that represents a type of connection pool.
http - An object that represents a type of connection pool.public static VirtualGatewayConnectionPool fromHttp2(VirtualGatewayHttp2ConnectionPool http2)
http2() initialized to the given value.
An object that represents a type of connection pool.
http2 - An object that represents a type of connection pool.public static VirtualGatewayConnectionPool fromHttp2(Consumer<VirtualGatewayHttp2ConnectionPool.Builder> http2)
http2() initialized to the given value.
An object that represents a type of connection pool.
http2 - An object that represents a type of connection pool.public VirtualGatewayConnectionPool.Type type()
VirtualGatewayConnectionPool.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be VirtualGatewayConnectionPool.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.