@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualGatewaySpec extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the specification of a service mesh resource.
Constructor and Description |
---|
VirtualGatewaySpec() |
Modifier and Type | Method and Description |
---|---|
VirtualGatewaySpec |
clone() |
boolean |
equals(Object obj) |
VirtualGatewayBackendDefaults |
getBackendDefaults()
A reference to an object that represents the defaults for backends.
|
List<VirtualGatewayListener> |
getListeners()
The listeners that the mesh endpoint is expected to receive inbound traffic from.
|
VirtualGatewayLogging |
getLogging() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackendDefaults(VirtualGatewayBackendDefaults backendDefaults)
A reference to an object that represents the defaults for backends.
|
void |
setListeners(Collection<VirtualGatewayListener> listeners)
The listeners that the mesh endpoint is expected to receive inbound traffic from.
|
void |
setLogging(VirtualGatewayLogging logging) |
String |
toString()
Returns a string representation of this object.
|
VirtualGatewaySpec |
withBackendDefaults(VirtualGatewayBackendDefaults backendDefaults)
A reference to an object that represents the defaults for backends.
|
VirtualGatewaySpec |
withListeners(Collection<VirtualGatewayListener> listeners)
The listeners that the mesh endpoint is expected to receive inbound traffic from.
|
VirtualGatewaySpec |
withListeners(VirtualGatewayListener... listeners)
The listeners that the mesh endpoint is expected to receive inbound traffic from.
|
VirtualGatewaySpec |
withLogging(VirtualGatewayLogging logging) |
public void setBackendDefaults(VirtualGatewayBackendDefaults 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 VirtualGatewayBackendDefaults getBackendDefaults()
A reference to an object that represents the defaults for backends.
public VirtualGatewaySpec withBackendDefaults(VirtualGatewayBackendDefaults 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<VirtualGatewayListener> getListeners()
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
public void setListeners(Collection<VirtualGatewayListener> listeners)
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
listeners
- The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one
listener.public VirtualGatewaySpec withListeners(VirtualGatewayListener... listeners)
The listeners that the mesh endpoint 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 listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one
listener.public VirtualGatewaySpec withListeners(Collection<VirtualGatewayListener> listeners)
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
listeners
- The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one
listener.public void setLogging(VirtualGatewayLogging logging)
logging
- public VirtualGatewayLogging getLogging()
public VirtualGatewaySpec withLogging(VirtualGatewayLogging logging)
logging
- public String toString()
toString
in class Object
Object.toString()
public VirtualGatewaySpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.