@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteRef extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a route returned by a list operation.
Constructor and Description |
---|
RouteRef() |
Modifier and Type | Method and Description |
---|---|
RouteRef |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The full Amazon Resource Name (ARN) for the route.
|
Date |
getCreatedAt()
The Unix epoch timestamp in seconds for when the resource was created.
|
Date |
getLastUpdatedAt()
The Unix epoch timestamp in seconds for when the resource was last updated.
|
String |
getMeshName()
The name of the service mesh that the route resides in.
|
String |
getMeshOwner()
The Amazon Web Services IAM account ID of the service mesh owner.
|
String |
getResourceOwner()
The Amazon Web Services IAM account ID of the resource owner.
|
String |
getRouteName()
The name of the route.
|
Long |
getVersion()
The version of the resource.
|
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 |
setArn(String arn)
The full Amazon Resource Name (ARN) for the route.
|
void |
setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The Unix epoch timestamp in seconds for when the resource was last updated.
|
void |
setMeshName(String meshName)
The name of the service mesh that the route resides in.
|
void |
setMeshOwner(String meshOwner)
The Amazon Web Services IAM account ID of the service mesh owner.
|
void |
setResourceOwner(String resourceOwner)
The Amazon Web Services IAM account ID of the resource owner.
|
void |
setRouteName(String routeName)
The name of the route.
|
void |
setVersion(Long version)
The version of the resource.
|
void |
setVirtualRouterName(String virtualRouterName)
The virtual router that the route is associated with.
|
String |
toString()
Returns a string representation of this object.
|
RouteRef |
withArn(String arn)
The full Amazon Resource Name (ARN) for the route.
|
RouteRef |
withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
|
RouteRef |
withLastUpdatedAt(Date lastUpdatedAt)
The Unix epoch timestamp in seconds for when the resource was last updated.
|
RouteRef |
withMeshName(String meshName)
The name of the service mesh that the route resides in.
|
RouteRef |
withMeshOwner(String meshOwner)
The Amazon Web Services IAM account ID of the service mesh owner.
|
RouteRef |
withResourceOwner(String resourceOwner)
The Amazon Web Services IAM account ID of the resource owner.
|
RouteRef |
withRouteName(String routeName)
The name of the route.
|
RouteRef |
withVersion(Long version)
The version of the resource.
|
RouteRef |
withVirtualRouterName(String virtualRouterName)
The virtual router that the route is associated with.
|
public void setArn(String arn)
The full Amazon Resource Name (ARN) for the route.
arn
- The full Amazon Resource Name (ARN) for the route.public String getArn()
The full Amazon Resource Name (ARN) for the route.
public RouteRef withArn(String arn)
The full Amazon Resource Name (ARN) for the route.
arn
- The full Amazon Resource Name (ARN) for the route.public void setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
createdAt
- The Unix epoch timestamp in seconds for when the resource was created.public Date getCreatedAt()
The Unix epoch timestamp in seconds for when the resource was created.
public RouteRef withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
createdAt
- The Unix epoch timestamp in seconds for when the resource was created.public void setLastUpdatedAt(Date lastUpdatedAt)
The Unix epoch timestamp in seconds for when the resource was last updated.
lastUpdatedAt
- The Unix epoch timestamp in seconds for when the resource was last updated.public Date getLastUpdatedAt()
The Unix epoch timestamp in seconds for when the resource was last updated.
public RouteRef withLastUpdatedAt(Date lastUpdatedAt)
The Unix epoch timestamp in seconds for when the resource was last updated.
lastUpdatedAt
- The Unix epoch timestamp in seconds for when the resource was last updated.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 RouteRef 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 setMeshOwner(String meshOwner)
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
meshOwner
- The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then
it's the ID of the account that shared the mesh with your account. For more information about mesh
sharing, see Working with
shared meshes.public String getMeshOwner()
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
public RouteRef withMeshOwner(String meshOwner)
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
meshOwner
- The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then
it's the ID of the account that shared the mesh with your account. For more information about mesh
sharing, see Working with
shared meshes.public void setResourceOwner(String resourceOwner)
The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
resourceOwner
- The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's
the ID of the mesh owner or of another account that the mesh is shared with. For more information about
mesh sharing, see Working
with shared meshes.public String getResourceOwner()
The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
public RouteRef withResourceOwner(String resourceOwner)
The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
resourceOwner
- The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's
the ID of the mesh owner or of another account that the mesh is shared with. For more information about
mesh sharing, see Working
with shared meshes.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 RouteRef withRouteName(String routeName)
The name of the route.
routeName
- The name of the route.public void setVersion(Long version)
The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
version
- The version of the resource. Resources are created at version 1, and this version is incremented each time
that they're updated.public Long getVersion()
The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
public RouteRef withVersion(Long version)
The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
version
- The version of the resource. Resources are created at version 1, and this version is incremented each time
that they're updated.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 RouteRef 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.