@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteData extends Object implements Serializable, Cloneable, StructuredPojo
An object representing 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 in which the route resides.
|
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 with which the route is associated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMeshName(String meshName)
The name of the service mesh in which the route resides.
|
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 with which the route is associated.
|
String |
toString()
Returns a string representation of this object.
|
RouteData |
withMeshName(String meshName)
The name of the service mesh in which the route resides.
|
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 with which the route is associated.
|
public void setMeshName(String meshName)
The name of the service mesh in which the route resides.
meshName
- The name of the service mesh in which the route resides.public String getMeshName()
The name of the service mesh in which the route resides.
public RouteData withMeshName(String meshName)
The name of the service mesh in which the route resides.
meshName
- The name of the service mesh in which the route resides.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 with which the route is associated.
virtualRouterName
- The virtual router with which the route is associated.public String getVirtualRouterName()
The virtual router with which the route is associated.
public RouteData withVirtualRouterName(String virtualRouterName)
The virtual router with which the route is associated.
virtualRouterName
- The virtual router with which the route is associated.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.