Interface DescribeBackupJobResponse.Builder

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

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

    • accountId

      Returns the account ID that owns the backup job.

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

      DescribeBackupJobResponse.Builder backupJobId(String backupJobId)

      Uniquely identifies a request to Backup to back up a resource.

      Parameters:
      backupJobId - Uniquely identifies a request to Backup to back up a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupVaultName

      DescribeBackupJobResponse.Builder backupVaultName(String backupVaultName)

      The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

      Parameters:
      backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupVaultArn

      DescribeBackupJobResponse.Builder backupVaultArn(String backupVaultArn)

      An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

      Parameters:
      backupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recoveryPointArn

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

      DescribeBackupJobResponse.Builder resourceArn(String resourceArn)

      An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.

      Parameters:
      resourceArn - An ARN that uniquely identifies a saved 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.
    • creationDate

      DescribeBackupJobResponse.Builder creationDate(Instant creationDate)

      The date and time that a backup 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 backup 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

      DescribeBackupJobResponse.Builder completionDate(Instant completionDate)

      The date and time that a job to create a backup job 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 create a backup job 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.
    • state

      The current state of a backup job.

      Parameters:
      state - The current state of a backup job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of a backup job.

      Parameters:
      state - The current state of a backup job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      DescribeBackupJobResponse.Builder statusMessage(String statusMessage)

      A detailed message explaining the status of the job to back up a resource.

      Parameters:
      statusMessage - A detailed message explaining the status of the job to back up a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • percentDone

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

      DescribeBackupJobResponse.Builder backupSizeInBytes(Long backupSizeInBytes)

      The size, in bytes, of a backup.

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

      DescribeBackupJobResponse.Builder iamRoleArn(String 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.
    • createdBy

      Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

      Parameters:
      createdBy - Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

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

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

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

      DescribeBackupJobResponse.Builder resourceType(String resourceType)

      The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

      Parameters:
      resourceType - The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bytesTransferred

      DescribeBackupJobResponse.Builder bytesTransferred(Long bytesTransferred)

      The size in bytes transferred to a backup vault at the time that the job status was queried.

      Parameters:
      bytesTransferred - The size in bytes transferred to a backup vault at the time that the job status was queried.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedCompletionDate

      DescribeBackupJobResponse.Builder expectedCompletionDate(Instant expectedCompletionDate)

      The date and time that a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      expectedCompletionDate - The date and time that a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate 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.
    • startBy

      Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      startBy - Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy 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.
    • backupOptions

      DescribeBackupJobResponse.Builder backupOptions(Map<String,String> backupOptions)

      Represents the options specified as part of backup plan or on-demand backup job.

      Parameters:
      backupOptions - Represents the options specified as part of backup plan or on-demand backup job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupType

      DescribeBackupJobResponse.Builder backupType(String backupType)

      Represents the actual backup type selected for a backup job. For example, if a successful Windows Volume Shadow Copy Service (VSS) backup was taken, BackupType returns "WindowsVSS". If BackupType is empty, then the backup type was a regular backup.

      Parameters:
      backupType - Represents the actual backup type selected for a backup job. For example, if a successful Windows Volume Shadow Copy Service (VSS) backup was taken, BackupType returns "WindowsVSS". If BackupType is empty, then the backup type was a regular backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentJobId

      DescribeBackupJobResponse.Builder parentJobId(String parentJobId)

      This returns the parent (composite) resource backup job ID.

      Parameters:
      parentJobId - This returns the parent (composite) resource backup job ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isParent

      This returns the boolean value that a backup job is a parent (composite) job.

      Parameters:
      isParent - This returns the boolean value that a backup job is a parent (composite) job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfChildJobs

      DescribeBackupJobResponse.Builder numberOfChildJobs(Long numberOfChildJobs)

      This returns the number of child (nested) backup jobs.

      Parameters:
      numberOfChildJobs - This returns the number of child (nested) backup jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • childJobsInStateWithStrings

      DescribeBackupJobResponse.Builder childJobsInStateWithStrings(Map<String,Long> childJobsInState)

      This returns the statistics of the included child (nested) backup jobs.

      Parameters:
      childJobsInState - This returns the statistics of the included child (nested) backup jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • childJobsInState

      DescribeBackupJobResponse.Builder childJobsInState(Map<BackupJobState,Long> childJobsInState)

      This returns the statistics of the included child (nested) backup jobs.

      Parameters:
      childJobsInState - This returns the statistics of the included child (nested) backup jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceName

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

      DescribeBackupJobResponse.Builder initiationDate(Instant initiationDate)

      This is the date a backup job was initiated.

      Parameters:
      initiationDate - This is the date a backup job was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageCategory

      DescribeBackupJobResponse.Builder messageCategory(String messageCategory)

      This is the job count for the specified message category.

      Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and INVALIDPARAMETERS. View Monitoring for a list of accepted MessageCategory strings.

      Parameters:
      messageCategory - This is the job count for the specified message category.

      Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and INVALIDPARAMETERS. View Monitoring for a list of accepted MessageCategory strings.

      Returns:
      Returns a reference to this object so that method calls can be chained together.