@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualGatewayListener extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a listener for a virtual gateway.
Constructor and Description |
---|
VirtualGatewayListener() |
Modifier and Type | Method and Description |
---|---|
VirtualGatewayListener |
clone() |
boolean |
equals(Object obj) |
VirtualGatewayConnectionPool |
getConnectionPool()
The connection pool information for the virtual gateway listener.
|
VirtualGatewayHealthCheckPolicy |
getHealthCheck()
The health check information for the listener.
|
VirtualGatewayPortMapping |
getPortMapping()
The port mapping information for the listener.
|
VirtualGatewayListenerTls |
getTls()
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionPool(VirtualGatewayConnectionPool connectionPool)
The connection pool information for the virtual gateway listener.
|
void |
setHealthCheck(VirtualGatewayHealthCheckPolicy healthCheck)
The health check information for the listener.
|
void |
setPortMapping(VirtualGatewayPortMapping portMapping)
The port mapping information for the listener.
|
void |
setTls(VirtualGatewayListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
|
String |
toString()
Returns a string representation of this object.
|
VirtualGatewayListener |
withConnectionPool(VirtualGatewayConnectionPool connectionPool)
The connection pool information for the virtual gateway listener.
|
VirtualGatewayListener |
withHealthCheck(VirtualGatewayHealthCheckPolicy healthCheck)
The health check information for the listener.
|
VirtualGatewayListener |
withPortMapping(VirtualGatewayPortMapping portMapping)
The port mapping information for the listener.
|
VirtualGatewayListener |
withTls(VirtualGatewayListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
|
public void setConnectionPool(VirtualGatewayConnectionPool connectionPool)
The connection pool information for the virtual gateway listener.
connectionPool
- The connection pool information for the virtual gateway listener.public VirtualGatewayConnectionPool getConnectionPool()
The connection pool information for the virtual gateway listener.
public VirtualGatewayListener withConnectionPool(VirtualGatewayConnectionPool connectionPool)
The connection pool information for the virtual gateway listener.
connectionPool
- The connection pool information for the virtual gateway listener.public void setHealthCheck(VirtualGatewayHealthCheckPolicy healthCheck)
The health check information for the listener.
healthCheck
- The health check information for the listener.public VirtualGatewayHealthCheckPolicy getHealthCheck()
The health check information for the listener.
public VirtualGatewayListener withHealthCheck(VirtualGatewayHealthCheckPolicy healthCheck)
The health check information for the listener.
healthCheck
- The health check information for the listener.public void setPortMapping(VirtualGatewayPortMapping portMapping)
The port mapping information for the listener.
portMapping
- The port mapping information for the listener.public VirtualGatewayPortMapping getPortMapping()
The port mapping information for the listener.
public VirtualGatewayListener withPortMapping(VirtualGatewayPortMapping portMapping)
The port mapping information for the listener.
portMapping
- The port mapping information for the listener.public void setTls(VirtualGatewayListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.public VirtualGatewayListenerTls getTls()
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
public VirtualGatewayListener withTls(VirtualGatewayListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.public String toString()
toString
in class Object
Object.toString()
public VirtualGatewayListener clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.