@Generated(value="software.amazon.awssdk:codegen") public final class ResourceMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>
An object representing metadata for a resource.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The full Amazon Resource Name (ARN) for the resource.
|
static ResourceMetadata.Builder |
builder() |
Instant |
createdAt()
The Unix epoch timestamp in seconds for when the cluster was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedAt()
The Unix epoch timestamp in seconds for when the cluster was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceMetadata.Builder> |
serializableBuilderClass() |
ResourceMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
uid()
The unique identifier for the resource.
|
Long |
version()
The version of the resource.
|
copy
public String arn()
The full Amazon Resource Name (ARN) for the resource.
After you create a virtual node, set this value (either the full ARN or the truncated resource name, for example,
mesh/default/virtualNode/simpleapp
, as the APPMESH_VIRTUAL_NODE_NAME
environment
variable for your task group's Envoy proxy container in your task definition or pod spec. This is then mapped to
the node.id
and node.cluster
Envoy parameters.
If you require your Envoy stats or tracing to use a different name, you can override the
node.cluster
value that is set by APPMESH_VIRTUAL_NODE_NAME
with the
APPMESH_VIRTUAL_NODE_CLUSTER
environment variable.
After you create a virtual node, set this value (either the full ARN or the truncated resource name, for
example, mesh/default/virtualNode/simpleapp
, as the APPMESH_VIRTUAL_NODE_NAME
environment variable for your task group's Envoy proxy container in your task definition or pod spec.
This is then mapped to the node.id
and node.cluster
Envoy parameters.
If you require your Envoy stats or tracing to use a different name, you can override the
node.cluster
value that is set by APPMESH_VIRTUAL_NODE_NAME
with the
APPMESH_VIRTUAL_NODE_CLUSTER
environment variable.
public Instant createdAt()
The Unix epoch timestamp in seconds for when the cluster was created.
public Instant lastUpdatedAt()
The Unix epoch timestamp in seconds for when the cluster was last updated.
public String uid()
The unique identifier for the resource.
public Long version()
The version of the resource. Resources are created at version 1, and this version is incremented each time they are updated.
public ResourceMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>
public static ResourceMetadata.Builder builder()
public static Class<? extends ResourceMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.