Struct aws_sdk_fsx::types::builders::BackupBuilder
source · #[non_exhaustive]pub struct BackupBuilder { /* private fields */ }Expand description
A builder for Backup.
Implementations§
source§impl BackupBuilder
impl BackupBuilder
sourcepub fn backup_id(self, input: impl Into<String>) -> Self
pub fn backup_id(self, input: impl Into<String>) -> Self
The ID of the backup.
This field is required.sourcepub fn set_backup_id(self, input: Option<String>) -> Self
pub fn set_backup_id(self, input: Option<String>) -> Self
The ID of the backup.
sourcepub fn get_backup_id(&self) -> &Option<String>
pub fn get_backup_id(&self) -> &Option<String>
The ID of the backup.
sourcepub fn lifecycle(self, input: BackupLifecycle) -> Self
pub fn lifecycle(self, input: BackupLifecycle) -> Self
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.
sourcepub fn set_lifecycle(self, input: Option<BackupLifecycle>) -> Self
pub fn set_lifecycle(self, input: Option<BackupLifecycle>) -> Self
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.
sourcepub fn get_lifecycle(&self) -> &Option<BackupLifecycle>
pub fn get_lifecycle(&self) -> &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.
sourcepub fn failure_details(self, input: BackupFailureDetails) -> Self
pub fn failure_details(self, input: BackupFailureDetails) -> Self
Details explaining any failures that occurred when creating a backup.
sourcepub fn set_failure_details(self, input: Option<BackupFailureDetails>) -> Self
pub fn set_failure_details(self, input: Option<BackupFailureDetails>) -> Self
Details explaining any failures that occurred when creating a backup.
sourcepub fn get_failure_details(&self) -> &Option<BackupFailureDetails>
pub fn get_failure_details(&self) -> &Option<BackupFailureDetails>
Details explaining any failures that occurred when creating a backup.
sourcepub fn type(self, input: BackupType) -> Self
pub fn type(self, input: BackupType) -> Self
The type of the file-system backup.
This field is required.sourcepub fn set_type(self, input: Option<BackupType>) -> Self
pub fn set_type(self, input: Option<BackupType>) -> Self
The type of the file-system backup.
sourcepub fn get_type(&self) -> &Option<BackupType>
pub fn get_type(&self) -> &Option<BackupType>
The type of the file-system backup.
sourcepub fn progress_percent(self, input: i32) -> Self
pub fn progress_percent(self, input: i32) -> Self
Displays the current percent of progress of an asynchronous task.
sourcepub fn set_progress_percent(self, input: Option<i32>) -> Self
pub fn set_progress_percent(self, input: Option<i32>) -> Self
Displays the current percent of progress of an asynchronous task.
sourcepub fn get_progress_percent(&self) -> &Option<i32>
pub fn get_progress_percent(&self) -> &Option<i32>
Displays the current percent of progress of an asynchronous task.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when a particular backup was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when a particular backup was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when a particular backup was created.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &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.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the backup resource.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the backup resource.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the backup resource.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags associated with a particular file system.
The tags associated with a particular file system.
The tags associated with a particular file system.
sourcepub fn file_system(self, input: FileSystem) -> Self
pub fn file_system(self, input: FileSystem) -> Self
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
This field is required.sourcepub fn set_file_system(self, input: Option<FileSystem>) -> Self
pub fn set_file_system(self, input: Option<FileSystem>) -> Self
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
sourcepub fn get_file_system(&self) -> &Option<FileSystem>
pub fn get_file_system(&self) -> &Option<FileSystem>
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
sourcepub fn directory_information(
self,
input: ActiveDirectoryBackupAttributes
) -> Self
pub fn directory_information( self, input: ActiveDirectoryBackupAttributes ) -> Self
The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
sourcepub fn set_directory_information(
self,
input: Option<ActiveDirectoryBackupAttributes>
) -> Self
pub fn set_directory_information( self, input: Option<ActiveDirectoryBackupAttributes> ) -> Self
The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
sourcepub fn get_directory_information(
&self
) -> &Option<ActiveDirectoryBackupAttributes>
pub fn get_directory_information( &self ) -> &Option<ActiveDirectoryBackupAttributes>
The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &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.
sourcepub fn source_backup_id(self, input: impl Into<String>) -> Self
pub fn source_backup_id(self, input: impl Into<String>) -> Self
The ID of the source backup. Specifies the backup that you are copying.
sourcepub fn set_source_backup_id(self, input: Option<String>) -> Self
pub fn set_source_backup_id(self, input: Option<String>) -> Self
The ID of the source backup. Specifies the backup that you are copying.
sourcepub fn get_source_backup_id(&self) -> &Option<String>
pub fn get_source_backup_id(&self) -> &Option<String>
The ID of the source backup. Specifies the backup that you are copying.
sourcepub fn source_backup_region(self, input: impl Into<String>) -> Self
pub fn source_backup_region(self, input: impl Into<String>) -> Self
The source Region of the backup. Specifies the Region from where this backup is copied.
sourcepub fn set_source_backup_region(self, input: Option<String>) -> Self
pub fn set_source_backup_region(self, input: Option<String>) -> Self
The source Region of the backup. Specifies the Region from where this backup is copied.
sourcepub fn get_source_backup_region(&self) -> &Option<String>
pub fn get_source_backup_region(&self) -> &Option<String>
The source Region of the backup. Specifies the Region from where this backup is copied.
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
Specifies the resource type that's backed up.
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
Specifies the resource type that's backed up.
sourcepub fn get_resource_type(&self) -> &Option<ResourceType>
pub fn get_resource_type(&self) -> &Option<ResourceType>
Specifies the resource type that's backed up.
sourcepub fn set_volume(self, input: Option<Volume>) -> Self
pub fn set_volume(self, input: Option<Volume>) -> Self
Describes an Amazon FSx volume.
sourcepub fn get_volume(&self) -> &Option<Volume>
pub fn get_volume(&self) -> &Option<Volume>
Describes an Amazon FSx volume.
Trait Implementations§
source§impl Clone for BackupBuilder
impl Clone for BackupBuilder
source§fn clone(&self) -> BackupBuilder
fn clone(&self) -> BackupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BackupBuilder
impl Debug for BackupBuilder
source§impl Default for BackupBuilder
impl Default for BackupBuilder
source§fn default() -> BackupBuilder
fn default() -> BackupBuilder
source§impl PartialEq for BackupBuilder
impl PartialEq for BackupBuilder
source§fn eq(&self, other: &BackupBuilder) -> bool
fn eq(&self, other: &BackupBuilder) -> bool
self and other values to be equal, and is used
by ==.