Interface ProtectedResource.Builder

    • 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 LastBackupTime is 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 of LastBackupTime is 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.