Class VirtualNodeConnectionPool
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.VirtualNodeConnectionPool
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VirtualNodeConnectionPool.Builder,VirtualNodeConnectionPool>
@Generated("software.amazon.awssdk:codegen") public final class VirtualNodeConnectionPool extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualNodeConnectionPool.Builder,VirtualNodeConnectionPool>
An object that represents the type of virtual node 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 interfaceVirtualNodeConnectionPool.Builderstatic classVirtualNodeConnectionPool.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualNodeConnectionPool.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static VirtualNodeConnectionPoolfromGrpc(Consumer<VirtualNodeGrpcConnectionPool.Builder> grpc)Create an instance of this class withgrpc()initialized to the given value.static VirtualNodeConnectionPoolfromGrpc(VirtualNodeGrpcConnectionPool grpc)Create an instance of this class withgrpc()initialized to the given value.static VirtualNodeConnectionPoolfromHttp(Consumer<VirtualNodeHttpConnectionPool.Builder> http)Create an instance of this class withhttp()initialized to the given value.static VirtualNodeConnectionPoolfromHttp(VirtualNodeHttpConnectionPool http)Create an instance of this class withhttp()initialized to the given value.static VirtualNodeConnectionPoolfromHttp2(Consumer<VirtualNodeHttp2ConnectionPool.Builder> http2)Create an instance of this class withhttp2()initialized to the given value.static VirtualNodeConnectionPoolfromHttp2(VirtualNodeHttp2ConnectionPool http2)Create an instance of this class withhttp2()initialized to the given value.static VirtualNodeConnectionPoolfromTcp(Consumer<VirtualNodeTcpConnectionPool.Builder> tcp)Create an instance of this class withtcp()initialized to the given value.static VirtualNodeConnectionPoolfromTcp(VirtualNodeTcpConnectionPool tcp)Create an instance of this class withtcp()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)VirtualNodeGrpcConnectionPoolgrpc()An object that represents a type of connection pool.inthashCode()VirtualNodeHttpConnectionPoolhttp()An object that represents a type of connection pool.VirtualNodeHttp2ConnectionPoolhttp2()An object that represents a type of connection pool.List<SdkField<?>>sdkFields()static Class<? extends VirtualNodeConnectionPool.Builder>serializableBuilderClass()VirtualNodeTcpConnectionPooltcp()An object that represents a type of connection pool.VirtualNodeConnectionPool.BuildertoBuilder()StringtoString()Returns a string representation of this object.VirtualNodeConnectionPool.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 VirtualNodeGrpcConnectionPool grpc()
An object that represents a type of connection pool.
- Returns:
- An object that represents a type of connection pool.
-
http
public final VirtualNodeHttpConnectionPool http()
An object that represents a type of connection pool.
- Returns:
- An object that represents a type of connection pool.
-
http2
public final VirtualNodeHttp2ConnectionPool http2()
An object that represents a type of connection pool.
- Returns:
- An object that represents a type of connection pool.
-
tcp
public final VirtualNodeTcpConnectionPool tcp()
An object that represents a type of connection pool.
- Returns:
- An object that represents a type of connection pool.
-
toBuilder
public VirtualNodeConnectionPool.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VirtualNodeConnectionPool.Builder,VirtualNodeConnectionPool>
-
builder
public static VirtualNodeConnectionPool.Builder builder()
-
serializableBuilderClass
public static Class<? extends VirtualNodeConnectionPool.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 VirtualNodeConnectionPool fromGrpc(VirtualNodeGrpcConnectionPool 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 VirtualNodeConnectionPool fromGrpc(Consumer<VirtualNodeGrpcConnectionPool.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 VirtualNodeConnectionPool fromHttp(VirtualNodeHttpConnectionPool 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 VirtualNodeConnectionPool fromHttp(Consumer<VirtualNodeHttpConnectionPool.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 VirtualNodeConnectionPool fromHttp2(VirtualNodeHttp2ConnectionPool 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 VirtualNodeConnectionPool fromHttp2(Consumer<VirtualNodeHttp2ConnectionPool.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.
-
fromTcp
public static VirtualNodeConnectionPool fromTcp(VirtualNodeTcpConnectionPool tcp)
Create an instance of this class withtcp()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
tcp- An object that represents a type of connection pool.
-
fromTcp
public static VirtualNodeConnectionPool fromTcp(Consumer<VirtualNodeTcpConnectionPool.Builder> tcp)
Create an instance of this class withtcp()initialized to the given value.An object that represents a type of connection pool.
- Parameters:
tcp- An object that represents a type of connection pool.
-
type
public VirtualNodeConnectionPool.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 beVirtualNodeConnectionPool.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 beVirtualNodeConnectionPool.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-