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

      DescribeRestoreJobResponse.Builder recoveryPointCreationDate(Instant recoveryPointCreationDate)

      This is the creation date of the recovery point made by the specifed restore job.

      Parameters:
      recoveryPointCreationDate - This is the creation date of the recovery point made by the specifed restore job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      Contains identifying information about the creation of a restore job.

      Parameters:
      createdBy - Contains identifying information about the creation of a restore job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      Contains identifying information about the creation of a restore job.

      This is a convenience method that creates an instance of the RestoreJobCreator.Builder avoiding the need to create one manually via RestoreJobCreator.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to createdBy(RestoreJobCreator).

      Parameters:
      createdBy - a consumer that will call methods on RestoreJobCreator.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validationStatus

      DescribeRestoreJobResponse.Builder validationStatus(String validationStatus)

      This is the status of validation run on the indicated restore job.

      Parameters:
      validationStatus - This is the status of validation run on the indicated restore job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validationStatus

      DescribeRestoreJobResponse.Builder validationStatus(RestoreValidationStatus validationStatus)

      This is the status of validation run on the indicated restore job.

      Parameters:
      validationStatus - This is the status of validation run on the indicated restore job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • validationStatusMessage

      DescribeRestoreJobResponse.Builder validationStatusMessage(String validationStatusMessage)

      This describes the status of validation run on the indicated restore job.

      Parameters:
      validationStatusMessage - This describes the status of validation run on the indicated restore job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionStatus

      DescribeRestoreJobResponse.Builder deletionStatus(String deletionStatus)

      This notes the status of the data generated by the restore test. The status may be Deleting, Failed, or Successful.

      Parameters:
      deletionStatus - This notes the status of the data generated by the restore test. The status may be Deleting, Failed, or Successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deletionStatus

      This notes the status of the data generated by the restore test. The status may be Deleting, Failed, or Successful.

      Parameters:
      deletionStatus - This notes the status of the data generated by the restore test. The status may be Deleting, Failed, or Successful.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deletionStatusMessage

      DescribeRestoreJobResponse.Builder deletionStatusMessage(String deletionStatusMessage)

      This describes the restore job deletion status.

      Parameters:
      deletionStatusMessage - This describes the restore job deletion status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.