@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualRouterListener extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a virtual router listener.
| Constructor and Description |
|---|
VirtualRouterListener() |
| Modifier and Type | Method and Description |
|---|---|
VirtualRouterListener |
clone() |
boolean |
equals(Object obj) |
PortMapping |
getPortMapping() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPortMapping(PortMapping portMapping) |
String |
toString()
Returns a string representation of this object.
|
VirtualRouterListener |
withPortMapping(PortMapping portMapping) |
public void setPortMapping(PortMapping portMapping)
portMapping - public PortMapping getPortMapping()
public VirtualRouterListener withPortMapping(PortMapping portMapping)
portMapping - public String toString()
toString in class ObjectObject.toString()public VirtualRouterListener clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.