Struct aws_sdk_backup::model::backup_job::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for BackupJob
Implementations
The account ID that owns the backup job.
The account ID that owns the backup job.
Uniquely identifies a request to Backup to back up a resource.
Uniquely identifies a request to Backup to back up a resource.
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.
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.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
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.
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.
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.
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.
The current state of a resource recovery point.
The current state of a resource recovery point.
A detailed message explaining the status of the job to back up a resource.
A detailed message explaining the status of the job to back up a resource.
Contains an estimated percentage complete of a job at the time the job status was queried.
Contains an estimated percentage complete of a job at the time the job status was queried.
The size, in bytes, of a backup.
The size, in bytes, of a backup.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The size in bytes transferred to a backup vault at the time that the job status was queried.
The size in bytes transferred to a backup vault at the time that the job status was queried.
Adds a key-value pair to backup_options
.
To override the contents of this collection use set_backup_options
.
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.
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.
Represents the type of backup for a backup job.
Represents the type of backup for a backup job.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more