BackupJob class
Contains detailed information about a backup job.
Constructors
-
BackupJob({String? accountId, String? backupJobId, Map<
String, String> ? backupOptions, int? backupSizeInBytes, String? backupType, String? backupVaultArn, String? backupVaultName, int? bytesTransferred, DateTime? completionDate, RecoveryPointCreator? createdBy, DateTime? creationDate, DateTime? expectedCompletionDate, String? iamRoleArn, String? percentDone, String? recoveryPointArn, String? resourceArn, String? resourceType, DateTime? startBy, BackupJobState? state, String? statusMessage}) -
BackupJob.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accountId → String?
-
The account ID that owns the backup job.
final
- backupJobId → String?
-
Uniquely identifies a request to AWS Backup to back up a resource.
final
-
backupOptions
→ Map<
String, String> ? -
Specifies the backup option for a selected resource. This option is only
available for Windows VSS backup jobs.
final
- backupSizeInBytes → int?
-
The size, in bytes, of a backup.
final
- backupType → String?
-
Represents the type of backup for a backup job.
final
- backupVaultArn → String?
-
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.final - backupVaultName → String?
-
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 AWS Region where they are created. They consist of lowercase letters,
numbers, and hyphens.
final
- bytesTransferred → int?
-
The size in bytes transferred to a backup vault at the time that the job
status was queried.
final
- completionDate → DateTime?
-
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.final - createdBy → RecoveryPointCreator?
-
Contains identifying information about the creation of a backup job,
including the
BackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan used to create it.final - creationDate → DateTime?
-
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.final - expectedCompletionDate → DateTime?
-
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.final - hashCode → int
-
The hash code for this object.
no setterinherited
- iamRoleArn → String?
-
Specifies the IAM role ARN used to create the target recovery point; for
example,
arn:aws:iam::123456789012:role/S3Access
.final - percentDone → String?
-
Contains an estimated percentage complete of a job at the time the job
status was queried.
final
- recoveryPointArn → String?
-
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.final - resourceArn → String?
-
An ARN that uniquely identifies a resource. The format of the ARN depends on
the resource type.
final
- resourceType → String?
-
The type of AWS 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 VSS Windows backups, the only supported resource
type is Amazon EC2.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startBy → DateTime?
-
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 ofStartBy
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.final - state → BackupJobState?
-
The current state of a resource recovery point.
final
- statusMessage → String?
-
A detailed message explaining the status of the job to back up a resource.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited