@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Listener extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a listener for a virtual node.
Constructor and Description |
---|
Listener() |
Modifier and Type | Method and Description |
---|---|
Listener |
clone() |
boolean |
equals(Object obj) |
VirtualNodeConnectionPool |
getConnectionPool()
The connection pool information for the listener.
|
HealthCheckPolicy |
getHealthCheck()
The health check information for the listener.
|
OutlierDetection |
getOutlierDetection()
The outlier detection information for the listener.
|
PortMapping |
getPortMapping()
The port mapping information for the listener.
|
ListenerTimeout |
getTimeout()
An object that represents timeouts for different protocols.
|
ListenerTls |
getTls()
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionPool(VirtualNodeConnectionPool connectionPool)
The connection pool information for the listener.
|
void |
setHealthCheck(HealthCheckPolicy healthCheck)
The health check information for the listener.
|
void |
setOutlierDetection(OutlierDetection outlierDetection)
The outlier detection information for the listener.
|
void |
setPortMapping(PortMapping portMapping)
The port mapping information for the listener.
|
void |
setTimeout(ListenerTimeout timeout)
An object that represents timeouts for different protocols.
|
void |
setTls(ListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
|
String |
toString()
Returns a string representation of this object.
|
Listener |
withConnectionPool(VirtualNodeConnectionPool connectionPool)
The connection pool information for the listener.
|
Listener |
withHealthCheck(HealthCheckPolicy healthCheck)
The health check information for the listener.
|
Listener |
withOutlierDetection(OutlierDetection outlierDetection)
The outlier detection information for the listener.
|
Listener |
withPortMapping(PortMapping portMapping)
The port mapping information for the listener.
|
Listener |
withTimeout(ListenerTimeout timeout)
An object that represents timeouts for different protocols.
|
Listener |
withTls(ListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
|
public void setConnectionPool(VirtualNodeConnectionPool connectionPool)
The connection pool information for the listener.
connectionPool
- The connection pool information for the listener.public VirtualNodeConnectionPool getConnectionPool()
The connection pool information for the listener.
public Listener withConnectionPool(VirtualNodeConnectionPool connectionPool)
The connection pool information for the listener.
connectionPool
- The connection pool information for the listener.public void setHealthCheck(HealthCheckPolicy healthCheck)
The health check information for the listener.
healthCheck
- The health check information for the listener.public HealthCheckPolicy getHealthCheck()
The health check information for the listener.
public Listener withHealthCheck(HealthCheckPolicy healthCheck)
The health check information for the listener.
healthCheck
- The health check information for the listener.public void setOutlierDetection(OutlierDetection outlierDetection)
The outlier detection information for the listener.
outlierDetection
- The outlier detection information for the listener.public OutlierDetection getOutlierDetection()
The outlier detection information for the listener.
public Listener withOutlierDetection(OutlierDetection outlierDetection)
The outlier detection information for the listener.
outlierDetection
- The outlier detection information for the listener.public void setPortMapping(PortMapping portMapping)
The port mapping information for the listener.
portMapping
- The port mapping information for the listener.public PortMapping getPortMapping()
The port mapping information for the listener.
public Listener withPortMapping(PortMapping portMapping)
The port mapping information for the listener.
portMapping
- The port mapping information for the listener.public void setTimeout(ListenerTimeout timeout)
An object that represents timeouts for different protocols.
timeout
- An object that represents timeouts for different protocols.public ListenerTimeout getTimeout()
An object that represents timeouts for different protocols.
public Listener withTimeout(ListenerTimeout timeout)
An object that represents timeouts for different protocols.
timeout
- An object that represents timeouts for different protocols.public void setTls(ListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.public ListenerTls getTls()
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
public Listener withTls(ListenerTls tls)
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
tls
- A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.