#[non_exhaustive]
pub struct Backup {
Show 16 fields pub backup_id: Option<String>, pub lifecycle: Option<BackupLifecycle>, pub failure_details: Option<BackupFailureDetails>, pub type: Option<BackupType>, pub progress_percent: Option<i32>, pub creation_time: Option<DateTime>, pub kms_key_id: Option<String>, pub resource_arn: Option<String>, pub tags: Option<Vec<Tag>>, pub file_system: Option<FileSystem>, pub directory_information: Option<ActiveDirectoryBackupAttributes>, pub owner_id: Option<String>, pub source_backup_id: Option<String>, pub source_backup_region: Option<String>, pub resource_type: Option<ResourceType>, pub volume: Option<Volume>,
}
Expand description

A backup of an Amazon FSx for Windows File Server, Amazon FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume, or Amazon FSx for OpenZFS file system.

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.
backup_id: Option<String>

The ID of the backup.

lifecycle: Option<BackupLifecycle>

The lifecycle status of the backup.

  • AVAILABLE - The backup is fully available.

  • PENDING - For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating the backup.

  • CREATING - Amazon FSx is creating the backup.

  • TRANSFERRING - For user-initiated backups on Lustre file systems only; Amazon FSx is transferring the backup to Amazon S3.

  • COPYING - Amazon FSx is copying the backup.

  • DELETED - Amazon FSx deleted the backup and it's no longer available.

  • FAILED - Amazon FSx couldn't finish the backup.

failure_details: Option<BackupFailureDetails>

Details explaining any failures that occurred when creating a backup.

type: Option<BackupType>

The type of the file-system backup.

progress_percent: Option<i32>

The current percent of progress of an asynchronous task.

creation_time: Option<DateTime>

The time when a particular backup was created.

kms_key_id: Option<String>

The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

resource_arn: Option<String>

The Amazon Resource Name (ARN) for the backup resource.

tags: Option<Vec<Tag>>

The tags associated with a particular file system.

file_system: Option<FileSystem>

The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.

directory_information: Option<ActiveDirectoryBackupAttributes>

The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.

owner_id: Option<String>

An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.

source_backup_id: Option<String>

The ID of the source backup. Specifies the backup that you are copying.

source_backup_region: Option<String>

The source Region of the backup. Specifies the Region from where this backup is copied.

resource_type: Option<ResourceType>

Specifies the resource type that's backed up.

volume: Option<Volume>

Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.

Implementations

The ID of the backup.

The lifecycle status of the backup.

  • AVAILABLE - The backup is fully available.

  • PENDING - For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating the backup.

  • CREATING - Amazon FSx is creating the backup.

  • TRANSFERRING - For user-initiated backups on Lustre file systems only; Amazon FSx is transferring the backup to Amazon S3.

  • COPYING - Amazon FSx is copying the backup.

  • DELETED - Amazon FSx deleted the backup and it's no longer available.

  • FAILED - Amazon FSx couldn't finish the backup.

Details explaining any failures that occurred when creating a backup.

The type of the file-system backup.

The current percent of progress of an asynchronous task.

The time when a particular backup was created.

The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

The Amazon Resource Name (ARN) for the backup resource.

The tags associated with a particular file system.

The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.

The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.

An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.

The ID of the source backup. Specifies the backup that you are copying.

The source Region of the backup. Specifies the Region from where this backup is copied.

Specifies the resource type that's backed up.

Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.

Creates a new builder-style object to manufacture Backup

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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)

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