Interface ResourceMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>, SdkBuilder<ResourceMetadata.Builder,ResourceMetadata>, SdkPojo
Enclosing class:
ResourceMetadata

public static interface ResourceMetadata.Builder extends SdkPojo, CopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>
  • Method Details

    • arn

      The full Amazon Resource Name (ARN) for the resource.

      Parameters:
      arn - The full Amazon Resource Name (ARN) for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      ResourceMetadata.Builder createdAt(Instant createdAt)

      The Unix epoch timestamp in seconds for when the resource was created.

      Parameters:
      createdAt - The Unix epoch timestamp in seconds for when the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      ResourceMetadata.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The Unix epoch timestamp in seconds for when the resource was last updated.

      Parameters:
      lastUpdatedAt - The Unix epoch timestamp in seconds for when the resource was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • meshOwner

      ResourceMetadata.Builder meshOwner(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceOwner

      ResourceMetadata.Builder resourceOwner(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uid

      The unique identifier for the resource.

      Parameters:
      uid - The unique identifier for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      ResourceMetadata.Builder version(Long version)

      The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.

      Parameters:
      version - The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.