Interface ProtectedResource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectedResource.Builder,ProtectedResource>,SdkBuilder<ProtectedResource.Builder,ProtectedResource>,SdkPojo
- Enclosing class:
- ProtectedResource
public static interface ProtectedResource.Builder extends SdkPojo, CopyableBuilder<ProtectedResource.Builder,ProtectedResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtectedResource.BuilderlastBackupTime(Instant lastBackupTime)The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).ProtectedResource.BuilderlastBackupVaultArn(String lastBackupVaultArn)This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.ProtectedResource.BuilderlastRecoveryPointArn(String lastRecoveryPointArn)This is the ARN (Amazon Resource Name) of the most recent recovery point.ProtectedResource.BuilderresourceArn(String resourceArn)An Amazon Resource Name (ARN) that uniquely identifies a resource.ProtectedResource.BuilderresourceName(String resourceName)This is the non-unique name of the resource that belongs to the specified backup.ProtectedResource.BuilderresourceType(String resourceType)The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.-
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
-
resourceArn
ProtectedResource.Builder resourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
- Parameters:
resourceArn- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
ProtectedResource.Builder resourceType(String resourceType)
The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
- Parameters:
resourceType- The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastBackupTime
ProtectedResource.Builder lastBackupTime(Instant lastBackupTime)
The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of
LastBackupTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastBackupTime- The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value ofLastBackupTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
ProtectedResource.Builder resourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
- Parameters:
resourceName- This is the non-unique name of the resource that belongs to the specified backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastBackupVaultArn
ProtectedResource.Builder lastBackupVaultArn(String lastBackupVaultArn)
This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
- Parameters:
lastBackupVaultArn- This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRecoveryPointArn
ProtectedResource.Builder lastRecoveryPointArn(String lastRecoveryPointArn)
This is the ARN (Amazon Resource Name) of the most recent recovery point.
- Parameters:
lastRecoveryPointArn- This is the ARN (Amazon Resource Name) of the most recent recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-