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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceMetadata.Builderarn(String arn)The full Amazon Resource Name (ARN) for the resource.ResourceMetadata.BuildercreatedAt(Instant createdAt)The Unix epoch timestamp in seconds for when the resource was created.ResourceMetadata.BuilderlastUpdatedAt(Instant lastUpdatedAt)The Unix epoch timestamp in seconds for when the resource was last updated.ResourceMetadata.BuildermeshOwner(String meshOwner)The Amazon Web Services IAM account ID of the service mesh owner.ResourceMetadata.BuilderresourceOwner(String resourceOwner)The Amazon Web Services IAM account ID of the resource owner.ResourceMetadata.Builderuid(String uid)The unique identifier for the resource.ResourceMetadata.Builderversion(Long version)The version of the resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
ResourceMetadata.Builder arn(String 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
ResourceMetadata.Builder uid(String 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.
-
-