public static interface BackupJob.Builder extends SdkPojo, CopyableBuilder<BackupJob.Builder,BackupJob>
| Modifier and Type | Method and Description |
|---|---|
BackupJob.Builder |
accountId(String accountId)
The account ID that owns the backup job.
|
BackupJob.Builder |
backupJobId(String backupJobId)
Uniquely identifies a request to Backup to back up a resource.
|
BackupJob.Builder |
backupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource.
|
BackupJob.Builder |
backupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a backup.
|
BackupJob.Builder |
backupType(String backupType)
Represents the type of backup for a backup job.
|
BackupJob.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. |
BackupJob.Builder |
backupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
BackupJob.Builder |
bytesTransferred(Long bytesTransferred)
The size in bytes transferred to a backup vault at the time that the job status was queried.
|
BackupJob.Builder |
completionDate(Instant completionDate)
The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time
(UTC).
|
default BackupJob.Builder |
createdBy(Consumer<RecoveryPointCreator.Builder> createdBy)
Contains identifying information about the creation of a backup job, including the
BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan
used to create it. |
BackupJob.Builder |
createdBy(RecoveryPointCreator createdBy)
Contains identifying information about the creation of a backup job, including the
BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan
used to create it. |
BackupJob.Builder |
creationDate(Instant creationDate)
The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC).
|
BackupJob.Builder |
expectedCompletionDate(Instant expectedCompletionDate)
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC).
|
BackupJob.Builder |
iamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point.
|
BackupJob.Builder |
isParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) backup job.
|
BackupJob.Builder |
parentJobId(String parentJobId)
This uniquely identifies a request to Backup to back up a resource.
|
BackupJob.Builder |
percentDone(String percentDone)
Contains an estimated percentage complete of a job at the time the job status was queried.
|
BackupJob.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. |
BackupJob.Builder |
resourceArn(String resourceArn)
An ARN that uniquely identifies a resource.
|
BackupJob.Builder |
resourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
|
BackupJob.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.
|
BackupJob.Builder |
startBy(Instant startBy)
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started
before it is canceled.
|
BackupJob.Builder |
state(BackupJobState state)
The current state of a backup job.
|
BackupJob.Builder |
state(String state)
The current state of a backup job.
|
BackupJob.Builder |
statusMessage(String statusMessage)
A detailed message explaining the status of the job to back up a resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBackupJob.Builder accountId(String accountId)
The account ID that owns the backup job.
accountId - The account ID that owns the backup job.BackupJob.Builder backupJobId(String backupJobId)
Uniquely identifies a request to Backup to back up a resource.
backupJobId - Uniquely identifies a request to Backup to back up a resource.BackupJob.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.
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.BackupJob.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.
backupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.BackupJob.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.
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
.BackupJob.Builder resourceArn(String resourceArn)
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
resourceArn - An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.BackupJob.Builder creationDate(Instant creationDate)
The date and time 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.
creationDate - The date and time 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.BackupJob.Builder completionDate(Instant completionDate)
The date and time 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.
completionDate - The date and time 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.BackupJob.Builder state(String state)
The current state of a backup job.
state - The current state of a backup job.BackupJobState,
BackupJobStateBackupJob.Builder state(BackupJobState state)
The current state of a backup job.
state - The current state of a backup job.BackupJobState,
BackupJobStateBackupJob.Builder statusMessage(String statusMessage)
A detailed message explaining the status of the job to back up a resource.
statusMessage - A detailed message explaining the status of the job to back up a resource.BackupJob.Builder percentDone(String percentDone)
Contains an estimated percentage complete of a job at the time the job status was queried.
percentDone - Contains an estimated percentage complete of a job at the time the job status was queried.BackupJob.Builder backupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a backup.
backupSizeInBytes - The size, in bytes, of a backup.BackupJob.Builder iamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default role
must include either AWSBackup or AwsBackup in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess. Role names without those strings lack
permissions to perform backup jobs.
iamRoleArn - Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default
role must include either AWSBackup or AwsBackup in the role name. For
example, arn:aws:iam::123456789012:role/AWSBackupRDSAccess. Role names without those
strings lack permissions to perform backup jobs.BackupJob.Builder createdBy(RecoveryPointCreator createdBy)
Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan
used to create it.
createdBy - Contains identifying information about the creation of a backup job, including the
BackupPlanArn, BackupPlanId, BackupPlanVersion, and
BackupRuleId of the backup plan used to create it.default BackupJob.Builder createdBy(Consumer<RecoveryPointCreator.Builder> createdBy)
Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan
used to create it.
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).
createdBy - a consumer that will call methods on RecoveryPointCreator.BuildercreatedBy(RecoveryPointCreator)BackupJob.Builder expectedCompletionDate(Instant expectedCompletionDate)
The date and time 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.
expectedCompletionDate - The date and time 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.BackupJob.Builder startBy(Instant 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.
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.BackupJob.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. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
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. For Windows Volume
Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.BackupJob.Builder bytesTransferred(Long bytesTransferred)
The size in bytes transferred to a backup vault at the time that the job status was queried.
bytesTransferred - The size in bytes transferred to a backup vault at the time that the job status was queried.BackupJob.Builder backupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option
and create a Windows VSS backup. Set to "WindowsVSS":"disabled" to create a regular backup. If
you specify an invalid option, you get an InvalidParameterValueException exception.
backupOptions - Specifies the backup option for a selected resource. This option is only available for Windows Volume
Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup
option and create a Windows VSS backup. Set to "WindowsVSS":"disabled" to create a
regular backup. If you specify an invalid option, you get an
InvalidParameterValueException exception.
BackupJob.Builder backupType(String backupType)
Represents the type of backup for a backup job.
backupType - Represents the type of backup for a backup job.BackupJob.Builder parentJobId(String parentJobId)
This uniquely identifies a request to Backup to back up a resource. The return will be the parent (composite) job ID.
parentJobId - This uniquely identifies a request to Backup to back up a resource. The return will be the parent
(composite) job ID.BackupJob.Builder isParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) backup job.
isParent - This is a boolean value indicating this is a parent (composite) backup job.BackupJob.Builder resourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
resourceName - This is the non-unique name of the resource that belongs to the specified backup.Copyright © 2023. All rights reserved.