@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualNodeConnectionPool extends Object implements Serializable, Cloneable, StructuredPojo
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 maxPendingRequests
is 2147483647
.
Constructor and Description |
---|
VirtualNodeConnectionPool() |
Modifier and Type | Method and Description |
---|---|
VirtualNodeConnectionPool |
clone() |
boolean |
equals(Object obj) |
VirtualNodeGrpcConnectionPool |
getGrpc()
An object that represents a type of connection pool.
|
VirtualNodeHttpConnectionPool |
getHttp()
An object that represents a type of connection pool.
|
VirtualNodeHttp2ConnectionPool |
getHttp2()
An object that represents a type of connection pool.
|
VirtualNodeTcpConnectionPool |
getTcp()
An object that represents a type of connection pool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGrpc(VirtualNodeGrpcConnectionPool grpc)
An object that represents a type of connection pool.
|
void |
setHttp(VirtualNodeHttpConnectionPool http)
An object that represents a type of connection pool.
|
void |
setHttp2(VirtualNodeHttp2ConnectionPool http2)
An object that represents a type of connection pool.
|
void |
setTcp(VirtualNodeTcpConnectionPool tcp)
An object that represents a type of connection pool.
|
String |
toString()
Returns a string representation of this object.
|
VirtualNodeConnectionPool |
withGrpc(VirtualNodeGrpcConnectionPool grpc)
An object that represents a type of connection pool.
|
VirtualNodeConnectionPool |
withHttp(VirtualNodeHttpConnectionPool http)
An object that represents a type of connection pool.
|
VirtualNodeConnectionPool |
withHttp2(VirtualNodeHttp2ConnectionPool http2)
An object that represents a type of connection pool.
|
VirtualNodeConnectionPool |
withTcp(VirtualNodeTcpConnectionPool tcp)
An object that represents a type of connection pool.
|
public void setGrpc(VirtualNodeGrpcConnectionPool grpc)
An object that represents a type of connection pool.
grpc
- An object that represents a type of connection pool.public VirtualNodeGrpcConnectionPool getGrpc()
An object that represents a type of connection pool.
public VirtualNodeConnectionPool withGrpc(VirtualNodeGrpcConnectionPool grpc)
An object that represents a type of connection pool.
grpc
- An object that represents a type of connection pool.public void setHttp(VirtualNodeHttpConnectionPool http)
An object that represents a type of connection pool.
http
- An object that represents a type of connection pool.public VirtualNodeHttpConnectionPool getHttp()
An object that represents a type of connection pool.
public VirtualNodeConnectionPool withHttp(VirtualNodeHttpConnectionPool http)
An object that represents a type of connection pool.
http
- An object that represents a type of connection pool.public void setHttp2(VirtualNodeHttp2ConnectionPool http2)
An object that represents a type of connection pool.
http2
- An object that represents a type of connection pool.public VirtualNodeHttp2ConnectionPool getHttp2()
An object that represents a type of connection pool.
public VirtualNodeConnectionPool withHttp2(VirtualNodeHttp2ConnectionPool http2)
An object that represents a type of connection pool.
http2
- An object that represents a type of connection pool.public void setTcp(VirtualNodeTcpConnectionPool tcp)
An object that represents a type of connection pool.
tcp
- An object that represents a type of connection pool.public VirtualNodeTcpConnectionPool getTcp()
An object that represents a type of connection pool.
public VirtualNodeConnectionPool withTcp(VirtualNodeTcpConnectionPool tcp)
An object that represents a type of connection pool.
tcp
- An object that represents a type of connection pool.public String toString()
toString
in class Object
Object.toString()
public VirtualNodeConnectionPool clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.