@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualNodeSpec extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the specification of a virtual node.
| Constructor and Description |
|---|
VirtualNodeSpec() |
| Modifier and Type | Method and Description |
|---|---|
VirtualNodeSpec |
clone() |
boolean |
equals(Object obj) |
List<String> |
getBackends()
The backends to which the virtual node is expected to send outbound traffic.
|
List<Listener> |
getListeners()
The listeners from which the virtual node is expected to receive inbound traffic.
|
ServiceDiscovery |
getServiceDiscovery()
The service discovery information for the virtual node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBackends(Collection<String> backends)
The backends to which the virtual node is expected to send outbound traffic.
|
void |
setListeners(Collection<Listener> listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
|
void |
setServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
|
String |
toString()
Returns a string representation of this object.
|
VirtualNodeSpec |
withBackends(Collection<String> backends)
The backends to which the virtual node is expected to send outbound traffic.
|
VirtualNodeSpec |
withBackends(String... backends)
The backends to which the virtual node is expected to send outbound traffic.
|
VirtualNodeSpec |
withListeners(Collection<Listener> listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
|
VirtualNodeSpec |
withListeners(Listener... listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
|
VirtualNodeSpec |
withServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
|
public List<String> getBackends()
The backends to which the virtual node is expected to send outbound traffic.
public void setBackends(Collection<String> backends)
The backends to which the virtual node is expected to send outbound traffic.
backends - The backends to which the virtual node is expected to send outbound traffic.public VirtualNodeSpec withBackends(String... backends)
The backends to which the virtual node is expected to send outbound traffic.
NOTE: This method appends the values to the existing list (if any). Use
setBackends(java.util.Collection) or withBackends(java.util.Collection) if you want to override
the existing values.
backends - The backends to which the virtual node is expected to send outbound traffic.public VirtualNodeSpec withBackends(Collection<String> backends)
The backends to which the virtual node is expected to send outbound traffic.
backends - The backends to which the virtual node is expected to send outbound traffic.public List<Listener> getListeners()
The listeners from which the virtual node is expected to receive inbound traffic.
public void setListeners(Collection<Listener> listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
listeners - The listeners from which the virtual node is expected to receive inbound traffic.public VirtualNodeSpec withListeners(Listener... listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
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 from which the virtual node is expected to receive inbound traffic.public VirtualNodeSpec withListeners(Collection<Listener> listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
listeners - The listeners from which the virtual node is expected to receive inbound traffic.public void setServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
serviceDiscovery - The service discovery information for the virtual node.public ServiceDiscovery getServiceDiscovery()
The service discovery information for the virtual node.
public VirtualNodeSpec withServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
serviceDiscovery - The service discovery information for the virtual node.public String toString()
toString in class ObjectObject.toString()public VirtualNodeSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.