@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualRouterSpec extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the specification of a virtual router.
| Constructor and Description |
|---|
VirtualRouterSpec() |
| Modifier and Type | Method and Description |
|---|---|
VirtualRouterSpec |
clone() |
boolean |
equals(Object obj) |
List<VirtualRouterListener> |
getListeners()
The listeners that the virtual router is expected to receive inbound traffic from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setListeners(Collection<VirtualRouterListener> listeners)
The listeners that the virtual router is expected to receive inbound traffic from.
|
String |
toString()
Returns a string representation of this object.
|
VirtualRouterSpec |
withListeners(Collection<VirtualRouterListener> listeners)
The listeners that the virtual router is expected to receive inbound traffic from.
|
VirtualRouterSpec |
withListeners(VirtualRouterListener... listeners)
The listeners that the virtual router is expected to receive inbound traffic from.
|
public List<VirtualRouterListener> getListeners()
The listeners that the virtual router is expected to receive inbound traffic from. Currently only one listener is supported per virtual router.
public void setListeners(Collection<VirtualRouterListener> listeners)
The listeners that the virtual router is expected to receive inbound traffic from. Currently only one listener is supported per virtual router.
listeners - The listeners that the virtual router is expected to receive inbound traffic from. Currently only one
listener is supported per virtual router.public VirtualRouterSpec withListeners(VirtualRouterListener... listeners)
The listeners that the virtual router is expected to receive inbound traffic from. Currently only one listener is supported per virtual router.
NOTE: This method appends the values to the existing list (if any). Use
setListeners(java.util.Collection) or withListeners(java.util.Collection) if you want to
override the existing values.
listeners - The listeners that the virtual router is expected to receive inbound traffic from. Currently only one
listener is supported per virtual router.public VirtualRouterSpec withListeners(Collection<VirtualRouterListener> listeners)
The listeners that the virtual router is expected to receive inbound traffic from. Currently only one listener is supported per virtual router.
listeners - The listeners that the virtual router is expected to receive inbound traffic from. Currently only one
listener is supported per virtual router.public String toString()
toString in class ObjectObject.toString()public VirtualRouterSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.