@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualNodeSpec extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the specification of a virtual node.
Constructor and Description |
---|
VirtualNodeSpec() |
Modifier and Type | Method and Description |
---|---|
VirtualNodeSpec |
clone() |
boolean |
equals(Object obj) |
BackendDefaults |
getBackendDefaults()
A reference to an object that represents the defaults for backends.
|
List<Backend> |
getBackends()
The backends that the virtual node is expected to send outbound traffic to.
|
List<Listener> |
getListeners()
The listener that the virtual node is expected to receive inbound traffic from.
|
Logging |
getLogging()
The inbound and outbound access logging information for the virtual node.
|
ServiceDiscovery |
getServiceDiscovery()
The service discovery information for the virtual node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackendDefaults(BackendDefaults backendDefaults)
A reference to an object that represents the defaults for backends.
|
void |
setBackends(Collection<Backend> backends)
The backends that the virtual node is expected to send outbound traffic to.
|
void |
setListeners(Collection<Listener> listeners)
The listener that the virtual node is expected to receive inbound traffic from.
|
void |
setLogging(Logging logging)
The inbound and outbound access logging information for the virtual node.
|
void |
setServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
|
String |
toString()
Returns a string representation of this object.
|
VirtualNodeSpec |
withBackendDefaults(BackendDefaults backendDefaults)
A reference to an object that represents the defaults for backends.
|
VirtualNodeSpec |
withBackends(Backend... backends)
The backends that the virtual node is expected to send outbound traffic to.
|
VirtualNodeSpec |
withBackends(Collection<Backend> backends)
The backends that the virtual node is expected to send outbound traffic to.
|
VirtualNodeSpec |
withListeners(Collection<Listener> listeners)
The listener that the virtual node is expected to receive inbound traffic from.
|
VirtualNodeSpec |
withListeners(Listener... listeners)
The listener that the virtual node is expected to receive inbound traffic from.
|
VirtualNodeSpec |
withLogging(Logging logging)
The inbound and outbound access logging information for the virtual node.
|
VirtualNodeSpec |
withServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
|
public void setBackendDefaults(BackendDefaults backendDefaults)
A reference to an object that represents the defaults for backends.
backendDefaults
- A reference to an object that represents the defaults for backends.public BackendDefaults getBackendDefaults()
A reference to an object that represents the defaults for backends.
public VirtualNodeSpec withBackendDefaults(BackendDefaults backendDefaults)
A reference to an object that represents the defaults for backends.
backendDefaults
- A reference to an object that represents the defaults for backends.public List<Backend> getBackends()
The backends that the virtual node is expected to send outbound traffic to.
public void setBackends(Collection<Backend> backends)
The backends that the virtual node is expected to send outbound traffic to.
backends
- The backends that the virtual node is expected to send outbound traffic to.public VirtualNodeSpec withBackends(Backend... backends)
The backends that the virtual node is expected to send outbound traffic to.
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 that the virtual node is expected to send outbound traffic to.public VirtualNodeSpec withBackends(Collection<Backend> backends)
The backends that the virtual node is expected to send outbound traffic to.
backends
- The backends that the virtual node is expected to send outbound traffic to.public List<Listener> getListeners()
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
public void setListeners(Collection<Listener> listeners)
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
listeners
- The listener that the virtual node is expected to receive inbound traffic from. You can specify one
listener.public VirtualNodeSpec withListeners(Listener... listeners)
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
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 listener that the virtual node is expected to receive inbound traffic from. You can specify one
listener.public VirtualNodeSpec withListeners(Collection<Listener> listeners)
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
listeners
- The listener that the virtual node is expected to receive inbound traffic from. You can specify one
listener.public void setLogging(Logging logging)
The inbound and outbound access logging information for the virtual node.
logging
- The inbound and outbound access logging information for the virtual node.public Logging getLogging()
The inbound and outbound access logging information for the virtual node.
public VirtualNodeSpec withLogging(Logging logging)
The inbound and outbound access logging information for the virtual node.
logging
- The inbound and outbound access logging information for the virtual node.public void setServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you
can omit this parameter. If you specify a listener
, then you must specify service discovery
information.
serviceDiscovery
- The service discovery information for the virtual node. If your virtual node does not expect ingress
traffic, you can omit this parameter. If you specify a listener
, then you must specify
service discovery information.public ServiceDiscovery getServiceDiscovery()
The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you
can omit this parameter. If you specify a listener
, then you must specify service discovery
information.
listener
, then you must specify
service discovery information.public VirtualNodeSpec withServiceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you
can omit this parameter. If you specify a listener
, then you must specify service discovery
information.
serviceDiscovery
- The service discovery information for the virtual node. If your virtual node does not expect ingress
traffic, you can omit this parameter. If you specify a listener
, then you must specify
service discovery information.public String toString()
toString
in class Object
Object.toString()
public VirtualNodeSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.