@Generated(value="software.amazon.awssdk:codegen") public final class RouteRef extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RouteRef.Builder,RouteRef>
An object that represents a route returned by a list operation.
Modifier and Type | Class and Description |
---|---|
static interface |
RouteRef.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The full Amazon Resource Name (ARN) for the route.
|
static RouteRef.Builder |
builder() |
Instant |
createdAt()
The Unix epoch timestamp in seconds for when the resource was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedAt()
The Unix epoch timestamp in seconds for when the resource was last updated.
|
String |
meshName()
The name of the service mesh that the route resides in.
|
String |
meshOwner()
The AWS IAM account ID of the service mesh owner.
|
String |
resourceOwner()
The AWS IAM account ID of the resource owner.
|
String |
routeName()
The name of the route.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RouteRef.Builder> |
serializableBuilderClass() |
RouteRef.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Long |
version()
The version of the resource.
|
String |
virtualRouterName()
The virtual router that the route is associated with.
|
copy
public final String arn()
The full Amazon Resource Name (ARN) for the route.
public final Instant createdAt()
The Unix epoch timestamp in seconds for when the resource was created.
public final Instant lastUpdatedAt()
The Unix epoch timestamp in seconds for when the resource was last updated.
public final String meshName()
The name of the service mesh that the route resides in.
public final String meshOwner()
The AWS 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 final String resourceOwner()
The AWS 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 final String routeName()
The name of the route.
public final Long version()
The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
public final String virtualRouterName()
The virtual router that the route is associated with.
public RouteRef.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RouteRef.Builder,RouteRef>
public static RouteRef.Builder builder()
public static Class<? extends RouteRef.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()