@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayRouteData extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a gateway route returned by a describe operation.
Constructor and Description |
---|
GatewayRouteData() |
Modifier and Type | Method and Description |
---|---|
GatewayRouteData |
clone() |
boolean |
equals(Object obj) |
String |
getGatewayRouteName()
The name of the gateway route.
|
String |
getMeshName()
The name of the service mesh that the resource resides in.
|
ResourceMetadata |
getMetadata() |
GatewayRouteSpec |
getSpec()
The specifications of the gateway route.
|
GatewayRouteStatus |
getStatus()
The status of the gateway route.
|
String |
getVirtualGatewayName()
The virtual gateway that the gateway route is associated with.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGatewayRouteName(String gatewayRouteName)
The name of the gateway route.
|
void |
setMeshName(String meshName)
The name of the service mesh that the resource resides in.
|
void |
setMetadata(ResourceMetadata metadata) |
void |
setSpec(GatewayRouteSpec spec)
The specifications of the gateway route.
|
void |
setStatus(GatewayRouteStatus status)
The status of the gateway route.
|
void |
setVirtualGatewayName(String virtualGatewayName)
The virtual gateway that the gateway route is associated with.
|
String |
toString()
Returns a string representation of this object.
|
GatewayRouteData |
withGatewayRouteName(String gatewayRouteName)
The name of the gateway route.
|
GatewayRouteData |
withMeshName(String meshName)
The name of the service mesh that the resource resides in.
|
GatewayRouteData |
withMetadata(ResourceMetadata metadata) |
GatewayRouteData |
withSpec(GatewayRouteSpec spec)
The specifications of the gateway route.
|
GatewayRouteData |
withStatus(GatewayRouteStatus status)
The status of the gateway route.
|
GatewayRouteData |
withVirtualGatewayName(String virtualGatewayName)
The virtual gateway that the gateway route is associated with.
|
public void setGatewayRouteName(String gatewayRouteName)
The name of the gateway route.
gatewayRouteName
- The name of the gateway route.public String getGatewayRouteName()
The name of the gateway route.
public GatewayRouteData withGatewayRouteName(String gatewayRouteName)
The name of the gateway route.
gatewayRouteName
- The name of the gateway route.public void setMeshName(String meshName)
The name of the service mesh that the resource resides in.
meshName
- The name of the service mesh that the resource resides in.public String getMeshName()
The name of the service mesh that the resource resides in.
public GatewayRouteData withMeshName(String meshName)
The name of the service mesh that the resource resides in.
meshName
- The name of the service mesh that the resource resides in.public void setMetadata(ResourceMetadata metadata)
metadata
- public ResourceMetadata getMetadata()
public GatewayRouteData withMetadata(ResourceMetadata metadata)
metadata
- public void setSpec(GatewayRouteSpec spec)
The specifications of the gateway route.
spec
- The specifications of the gateway route.public GatewayRouteSpec getSpec()
The specifications of the gateway route.
public GatewayRouteData withSpec(GatewayRouteSpec spec)
The specifications of the gateway route.
spec
- The specifications of the gateway route.public void setStatus(GatewayRouteStatus status)
The status of the gateway route.
status
- The status of the gateway route.public GatewayRouteStatus getStatus()
The status of the gateway route.
public GatewayRouteData withStatus(GatewayRouteStatus status)
The status of the gateway route.
status
- The status of the gateway route.public void setVirtualGatewayName(String virtualGatewayName)
The virtual gateway that the gateway route is associated with.
virtualGatewayName
- The virtual gateway that the gateway route is associated with.public String getVirtualGatewayName()
The virtual gateway that the gateway route is associated with.
public GatewayRouteData withVirtualGatewayName(String virtualGatewayName)
The virtual gateway that the gateway route is associated with.
virtualGatewayName
- The virtual gateway that the gateway route is associated with.public String toString()
toString
in class Object
Object.toString()
public GatewayRouteData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.