public static interface ResourceMetadata.Builder extends SdkPojo, CopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>
Modifier and Type | Method and Description |
---|---|
ResourceMetadata.Builder |
arn(String arn)
The full Amazon Resource Name (ARN) for the resource.
|
ResourceMetadata.Builder |
createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
|
ResourceMetadata.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The Unix epoch timestamp in seconds for when the cluster was last updated.
|
ResourceMetadata.Builder |
uid(String uid)
The unique identifier for the resource.
|
ResourceMetadata.Builder |
version(Long version)
The version of the resource.
|
copy
applyMutation, build
ResourceMetadata.Builder arn(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.
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.
ResourceMetadata.Builder createdAt(Instant createdAt)
The Unix epoch timestamp in seconds for when the cluster was created.
createdAt
- The Unix epoch timestamp in seconds for when the cluster was created.ResourceMetadata.Builder lastUpdatedAt(Instant lastUpdatedAt)
The Unix epoch timestamp in seconds for when the cluster was last updated.
lastUpdatedAt
- The Unix epoch timestamp in seconds for when the cluster was last updated.ResourceMetadata.Builder uid(String uid)
The unique identifier for the resource.
uid
- The unique identifier for the resource.ResourceMetadata.Builder version(Long version)
The version of the resource. Resources are created at version 1, and this version is incremented each time they are updated.
version
- The version of the resource. Resources are created at version 1, and this version is incremented each
time they are updated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.