Interface DescribeRestoreJobResponse.Builder

All Superinterfaces:
AwsResponse.Builder, BackupResponse.Builder, Buildable, CopyableBuilder<DescribeRestoreJobResponse.Builder,DescribeRestoreJobResponse>, SdkBuilder<DescribeRestoreJobResponse.Builder,DescribeRestoreJobResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeRestoreJobResponse

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

    • accountId

      Returns the account ID that owns the restore job.

      Parameters:
      accountId - Returns the account ID that owns the restore job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restoreJobId

      DescribeRestoreJobResponse.Builder restoreJobId(String restoreJobId)

      Uniquely identifies the job that restores a recovery point.

      Parameters:
      restoreJobId - Uniquely identifies the job that restores a recovery point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recoveryPointArn

      DescribeRestoreJobResponse.Builder recoveryPointArn(String recoveryPointArn)

      An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

      Parameters:
      recoveryPointArn - An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      DescribeRestoreJobResponse.Builder creationDate(Instant creationDate)

      The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      creationDate - The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate 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.
    • completionDate

      DescribeRestoreJobResponse.Builder completionDate(Instant completionDate)

      The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      completionDate - The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate 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.
    • status

      Status code specifying the state of the job that is initiated by Backup to restore a recovery point.

      Parameters:
      status - Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status code specifying the state of the job that is initiated by Backup to restore a recovery point.

      Parameters:
      status - Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      DescribeRestoreJobResponse.Builder statusMessage(String statusMessage)

      A message showing the status of a job to restore a recovery point.

      Parameters:
      statusMessage - A message showing the status of a job to restore a recovery point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • percentDone

      DescribeRestoreJobResponse.Builder percentDone(String percentDone)

      Contains an estimated percentage that is complete of a job at the time the job status was queried.

      Parameters:
      percentDone - Contains an estimated percentage that is complete of a job at the time the job status was queried.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupSizeInBytes

      DescribeRestoreJobResponse.Builder backupSizeInBytes(Long backupSizeInBytes)

      The size, in bytes, of the restored resource.

      Parameters:
      backupSizeInBytes - The size, in bytes, of the restored resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamRoleArn

      Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

      Parameters:
      iamRoleArn - Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedCompletionTimeMinutes

      DescribeRestoreJobResponse.Builder expectedCompletionTimeMinutes(Long expectedCompletionTimeMinutes)

      The amount of time in minutes that a job restoring a recovery point is expected to take.

      Parameters:
      expectedCompletionTimeMinutes - The amount of time in minutes that a job restoring a recovery point is expected to take.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdResourceArn

      DescribeRestoreJobResponse.Builder createdResourceArn(String createdResourceArn)

      An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.

      Parameters:
      createdResourceArn - An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      DescribeRestoreJobResponse.Builder resourceType(String resourceType)

      Returns metadata associated with a restore job listed by resource type.

      Parameters:
      resourceType - Returns metadata associated with a restore job listed by resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.