@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Listener extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a listener for a virtual node.
| Constructor and Description |
|---|
Listener() |
| Modifier and Type | Method and Description |
|---|---|
Listener |
clone() |
boolean |
equals(Object obj) |
HealthCheckPolicy |
getHealthCheck()
The health check information for the listener.
|
PortMapping |
getPortMapping()
The port mapping information for the listener.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setHealthCheck(HealthCheckPolicy healthCheck)
The health check information for the listener.
|
void |
setPortMapping(PortMapping portMapping)
The port mapping information for the listener.
|
String |
toString()
Returns a string representation of this object.
|
Listener |
withHealthCheck(HealthCheckPolicy healthCheck)
The health check information for the listener.
|
Listener |
withPortMapping(PortMapping portMapping)
The port mapping 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 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 String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.