@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualGatewayConnectionPool extends Object implements Serializable, Cloneable, StructuredPojo
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
.
Constructor and Description |
---|
VirtualGatewayConnectionPool() |
Modifier and Type | Method and Description |
---|---|
VirtualGatewayConnectionPool |
clone() |
boolean |
equals(Object obj) |
VirtualGatewayGrpcConnectionPool |
getGrpc()
An object that represents a type of connection pool.
|
VirtualGatewayHttpConnectionPool |
getHttp()
An object that represents a type of connection pool.
|
VirtualGatewayHttp2ConnectionPool |
getHttp2()
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(VirtualGatewayGrpcConnectionPool grpc)
An object that represents a type of connection pool.
|
void |
setHttp(VirtualGatewayHttpConnectionPool http)
An object that represents a type of connection pool.
|
void |
setHttp2(VirtualGatewayHttp2ConnectionPool http2)
An object that represents a type of connection pool.
|
String |
toString()
Returns a string representation of this object.
|
VirtualGatewayConnectionPool |
withGrpc(VirtualGatewayGrpcConnectionPool grpc)
An object that represents a type of connection pool.
|
VirtualGatewayConnectionPool |
withHttp(VirtualGatewayHttpConnectionPool http)
An object that represents a type of connection pool.
|
VirtualGatewayConnectionPool |
withHttp2(VirtualGatewayHttp2ConnectionPool http2)
An object that represents a type of connection pool.
|
public void setGrpc(VirtualGatewayGrpcConnectionPool grpc)
An object that represents a type of connection pool.
grpc
- An object that represents a type of connection pool.public VirtualGatewayGrpcConnectionPool getGrpc()
An object that represents a type of connection pool.
public VirtualGatewayConnectionPool withGrpc(VirtualGatewayGrpcConnectionPool grpc)
An object that represents a type of connection pool.
grpc
- An object that represents a type of connection pool.public void setHttp(VirtualGatewayHttpConnectionPool http)
An object that represents a type of connection pool.
http
- An object that represents a type of connection pool.public VirtualGatewayHttpConnectionPool getHttp()
An object that represents a type of connection pool.
public VirtualGatewayConnectionPool withHttp(VirtualGatewayHttpConnectionPool http)
An object that represents a type of connection pool.
http
- An object that represents a type of connection pool.public void setHttp2(VirtualGatewayHttp2ConnectionPool http2)
An object that represents a type of connection pool.
http2
- An object that represents a type of connection pool.public VirtualGatewayHttp2ConnectionPool getHttp2()
An object that represents a type of connection pool.
public VirtualGatewayConnectionPool withHttp2(VirtualGatewayHttp2ConnectionPool http2)
An object that represents a type of connection pool.
http2
- An object that represents a type of connection pool.public String toString()
toString
in class Object
Object.toString()
public VirtualGatewayConnectionPool clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.