@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualRouterData extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a virtual router returned by a describe operation.
Constructor and Description |
---|
VirtualRouterData() |
Modifier and Type | Method and Description |
---|---|
VirtualRouterData |
clone() |
boolean |
equals(Object obj) |
String |
getMeshName()
The name of the service mesh that the virtual router resides in.
|
ResourceMetadata |
getMetadata()
The associated metadata for the virtual router.
|
VirtualRouterSpec |
getSpec()
The specifications of the virtual router.
|
VirtualRouterStatus |
getStatus()
The current status of the virtual router.
|
String |
getVirtualRouterName()
The name of the virtual router.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMeshName(String meshName)
The name of the service mesh that the virtual router resides in.
|
void |
setMetadata(ResourceMetadata metadata)
The associated metadata for the virtual router.
|
void |
setSpec(VirtualRouterSpec spec)
The specifications of the virtual router.
|
void |
setStatus(VirtualRouterStatus status)
The current status of the virtual router.
|
void |
setVirtualRouterName(String virtualRouterName)
The name of the virtual router.
|
String |
toString()
Returns a string representation of this object.
|
VirtualRouterData |
withMeshName(String meshName)
The name of the service mesh that the virtual router resides in.
|
VirtualRouterData |
withMetadata(ResourceMetadata metadata)
The associated metadata for the virtual router.
|
VirtualRouterData |
withSpec(VirtualRouterSpec spec)
The specifications of the virtual router.
|
VirtualRouterData |
withStatus(VirtualRouterStatus status)
The current status of the virtual router.
|
VirtualRouterData |
withVirtualRouterName(String virtualRouterName)
The name of the virtual router.
|
public void setMeshName(String meshName)
The name of the service mesh that the virtual router resides in.
meshName
- The name of the service mesh that the virtual router resides in.public String getMeshName()
The name of the service mesh that the virtual router resides in.
public VirtualRouterData withMeshName(String meshName)
The name of the service mesh that the virtual router resides in.
meshName
- The name of the service mesh that the virtual router resides in.public void setMetadata(ResourceMetadata metadata)
The associated metadata for the virtual router.
metadata
- The associated metadata for the virtual router.public ResourceMetadata getMetadata()
The associated metadata for the virtual router.
public VirtualRouterData withMetadata(ResourceMetadata metadata)
The associated metadata for the virtual router.
metadata
- The associated metadata for the virtual router.public void setSpec(VirtualRouterSpec spec)
The specifications of the virtual router.
spec
- The specifications of the virtual router.public VirtualRouterSpec getSpec()
The specifications of the virtual router.
public VirtualRouterData withSpec(VirtualRouterSpec spec)
The specifications of the virtual router.
spec
- The specifications of the virtual router.public void setStatus(VirtualRouterStatus status)
The current status of the virtual router.
status
- The current status of the virtual router.public VirtualRouterStatus getStatus()
The current status of the virtual router.
public VirtualRouterData withStatus(VirtualRouterStatus status)
The current status of the virtual router.
status
- The current status of the virtual router.public void setVirtualRouterName(String virtualRouterName)
The name of the virtual router.
virtualRouterName
- The name of the virtual router.public String getVirtualRouterName()
The name of the virtual router.
public VirtualRouterData withVirtualRouterName(String virtualRouterName)
The name of the virtual router.
virtualRouterName
- The name of the virtual router.public String toString()
toString
in class Object
Object.toString()
public VirtualRouterData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.