Class VirtualGatewayConnectionPool
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.VirtualGatewayConnectionPool
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VirtualGatewayConnectionPool.Builder,VirtualGatewayConnectionPool>
@Generated("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
maxPendingRequestsis2147483647.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVirtualGatewayConnectionPool.Builderstatic classVirtualGatewayConnectionPool.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualGatewayConnectionPool.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static VirtualGatewayConnectionPoolfromGrpc(Consumer<VirtualGatewayGrpcConnectionPool.Builder> grpc)Create an instance of this class withgrpc()initialized to the given value.static VirtualGatewayConnectionPoolfromGrpc(VirtualGatewayGrpcConnectionPool grpc)Create an instance of this class withgrpc()initialized to the given value.static VirtualGatewayConnectionPoolfromHttp(Consumer<VirtualGatewayHttpConnectionPool.Builder> http)Create an instance of this class withhttp()initialized to the given value.static VirtualGatewayConnectionPoolfromHttp(VirtualGatewayHttpConnectionPool http)Create an instance of this class withhttp()initialized to the given value.static VirtualGatewayConnectionPoolfromHttp2(Consumer<VirtualGatewayHttp2ConnectionPool.Builder> http2)Create an instance of this class withhttp2()initialized to the given value.static VirtualGatewayConnectionPoolfromHttp2(VirtualGatewayHttp2ConnectionPool http2)Create an instance of this class withhttp2()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)VirtualGatewayGrpcConnectionPoolgrpc()An object that represents a type of connection pool.inthashCode()VirtualGatewayHttpConnectionPoolhttp()An object that represents a type of connection pool.VirtualGatewayHttp2ConnectionPoolhttp2()An object that represents a type of connection pool.List<SdkField<?>>sdkFields()static Class<? extends VirtualGatewayConnectionPool.Builder>serializableBuilderClass()VirtualGatewayConnectionPool.BuildertoBuilder()StringtoString()Returns a string representation of this object.VirtualGatewayConnectionPool.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
grpc
public final VirtualGatewayGrpcConnectionPool grpc()
An object that represents a type of connection pool.
- Returns:
- An object that represents a type of connection pool.
-
http
public final VirtualGatewayHttpConnectionPool http()
An object that represents a type of connection pool.
- Returns:
- An object that represents a type of connection pool.
-
http2
public final VirtualGatewayHttp2ConnectionPool http2()
An object that represents a type of connection pool.
- Returns:
- An object that represents a type of connection pool.
-
toBuilder
public VirtualGatewayConnectionPool.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VirtualGatewayConnectionPool.Builder,VirtualGatewayConnectionPool>
-
builder
public static VirtualGatewayConnectionPool.Builder builder()
-
serializableBuilderClass
public static Class<? extends VirtualGatewayConnectionPool.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromGrpc
public static VirtualGatewayConnectionPool fromGrpc(VirtualGatewayGrpcConnectionPool grpc)
Create an instance of this class withgrpc()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
grpc- An object that represents a type of connection pool.
-
fromGrpc
public static VirtualGatewayConnectionPool fromGrpc(Consumer<VirtualGatewayGrpcConnectionPool.Builder> grpc)
Create an instance of this class withgrpc()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
grpc- An object that represents a type of connection pool.
-
fromHttp
public static VirtualGatewayConnectionPool fromHttp(VirtualGatewayHttpConnectionPool http)
Create an instance of this class withhttp()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
http- An object that represents a type of connection pool.
-
fromHttp
public static VirtualGatewayConnectionPool fromHttp(Consumer<VirtualGatewayHttpConnectionPool.Builder> http)
Create an instance of this class withhttp()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
http- An object that represents a type of connection pool.
-
fromHttp2
public static VirtualGatewayConnectionPool fromHttp2(VirtualGatewayHttp2ConnectionPool http2)
Create an instance of this class withhttp2()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
http2- An object that represents a type of connection pool.
-
fromHttp2
public static VirtualGatewayConnectionPool fromHttp2(Consumer<VirtualGatewayHttp2ConnectionPool.Builder> http2)
Create an instance of this class withhttp2()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
http2- An object that represents a type of connection pool.
-
type
public VirtualGatewayConnectionPool.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beVirtualGatewayConnectionPool.Type.UNKNOWN_TO_SDK_VERSIONif 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 beVirtualGatewayConnectionPool.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-