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 Details

    • 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.