Struct aws_sdk_backup::model::CopyJob[][src]

#[non_exhaustive]
pub struct CopyJob {
Show 15 fields pub account_id: Option<String>, pub copy_job_id: Option<String>, pub source_backup_vault_arn: Option<String>, pub source_recovery_point_arn: Option<String>, pub destination_backup_vault_arn: Option<String>, pub destination_recovery_point_arn: Option<String>, pub resource_arn: Option<String>, pub creation_date: Option<Instant>, pub completion_date: Option<Instant>, pub state: Option<CopyJobState>, pub status_message: Option<String>, pub backup_size_in_bytes: Option<i64>, pub iam_role_arn: Option<String>, pub created_by: Option<RecoveryPointCreator>, pub resource_type: Option<String>,
}
Expand description

Contains detailed information about a copy job.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
account_id: Option<String>

The account ID that owns the copy job.

copy_job_id: Option<String>

Uniquely identifies a copy job.

source_backup_vault_arn: Option<String>

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

source_recovery_point_arn: Option<String>

An ARN that uniquely identifies a source recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

destination_backup_vault_arn: Option<String>

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

destination_recovery_point_arn: Option<String>

An ARN that uniquely identifies a destination recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

resource_arn: Option<String>

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

creation_date: Option<Instant>

The date and time a copy 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.

completion_date: Option<Instant>

The date and time a copy 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.

state: Option<CopyJobState>

The current state of a copy job.

status_message: Option<String>

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

backup_size_in_bytes: Option<i64>

The size, in bytes, of a copy job.

iam_role_arn: Option<String>

Specifies the IAM role ARN used to copy the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

created_by: Option<RecoveryPointCreator>

Contains information about the backup plan and rule that Backup used to initiate the recovery point backup.

resource_type: Option<String>

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

Implementations

Creates a new builder-style object to manufacture CopyJob

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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