#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Backup
Implementations
sourceimpl Builder
impl Builder
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 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 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 type(self, input: BackupType) -> Self
pub fn type(self, input: BackupType) -> Self
The type of the file-system backup.
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 progress_percent(self, input: i32) -> Self
pub fn progress_percent(self, input: i32) -> Self
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
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.
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 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 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.
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.
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.
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 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 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 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 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 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 volume(self, input: Volume) -> Self
pub fn volume(self, input: Volume) -> Self
Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
sourcepub fn set_volume(self, input: Option<Volume>) -> Self
pub fn set_volume(self, input: Option<Volume>) -> Self
Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more