@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteData extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a route returned by a describe operation.
Constructor and Description |
---|
RouteData() |
Modifier and Type | Method and Description |
---|---|
RouteData |
clone() |
boolean |
equals(Object obj) |
String |
getMeshName()
The name of the service mesh that the route resides in.
|
ResourceMetadata |
getMetadata()
The associated metadata for the route.
|
String |
getRouteName()
The name of the route.
|
RouteSpec |
getSpec()
The specifications of the route.
|
RouteStatus |
getStatus()
The status of the route.
|
String |
getVirtualRouterName()
The virtual router that the route is associated with.
|
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 route resides in.
|
void |
setMetadata(ResourceMetadata metadata)
The associated metadata for the route.
|
void |
setRouteName(String routeName)
The name of the route.
|
void |
setSpec(RouteSpec spec)
The specifications of the route.
|
void |
setStatus(RouteStatus status)
The status of the route.
|
void |
setVirtualRouterName(String virtualRouterName)
The virtual router that the route is associated with.
|
String |
toString()
Returns a string representation of this object.
|
RouteData |
withMeshName(String meshName)
The name of the service mesh that the route resides in.
|
RouteData |
withMetadata(ResourceMetadata metadata)
The associated metadata for the route.
|
RouteData |
withRouteName(String routeName)
The name of the route.
|
RouteData |
withSpec(RouteSpec spec)
The specifications of the route.
|
RouteData |
withStatus(RouteStatus status)
The status of the route.
|
RouteData |
withVirtualRouterName(String virtualRouterName)
The virtual router that the route is associated with.
|
public void setMeshName(String meshName)
The name of the service mesh that the route resides in.
meshName
- The name of the service mesh that the route resides in.public String getMeshName()
The name of the service mesh that the route resides in.
public RouteData withMeshName(String meshName)
The name of the service mesh that the route resides in.
meshName
- The name of the service mesh that the route resides in.public void setMetadata(ResourceMetadata metadata)
The associated metadata for the route.
metadata
- The associated metadata for the route.public ResourceMetadata getMetadata()
The associated metadata for the route.
public RouteData withMetadata(ResourceMetadata metadata)
The associated metadata for the route.
metadata
- The associated metadata for the route.public void setRouteName(String routeName)
The name of the route.
routeName
- The name of the route.public String getRouteName()
The name of the route.
public RouteData withRouteName(String routeName)
The name of the route.
routeName
- The name of the route.public void setSpec(RouteSpec spec)
The specifications of the route.
spec
- The specifications of the route.public RouteSpec getSpec()
The specifications of the route.
public RouteData withSpec(RouteSpec spec)
The specifications of the route.
spec
- The specifications of the route.public void setStatus(RouteStatus status)
The status of the route.
status
- The status of the route.public RouteStatus getStatus()
The status of the route.
public RouteData withStatus(RouteStatus status)
The status of the route.
status
- The status of the route.public void setVirtualRouterName(String virtualRouterName)
The virtual router that the route is associated with.
virtualRouterName
- The virtual router that the route is associated with.public String getVirtualRouterName()
The virtual router that the route is associated with.
public RouteData withVirtualRouterName(String virtualRouterName)
The virtual router that the route is associated with.
virtualRouterName
- The virtual router that the route is associated with.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.