Struct aws_sdk_fsx::operation::create_backup::CreateBackupInput
source · #[non_exhaustive]pub struct CreateBackupInput {
pub file_system_id: Option<String>,
pub client_request_token: Option<String>,
pub tags: Option<Vec<Tag>>,
pub volume_id: Option<String>,
}
Expand description
The request object for the CreateBackup
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.file_system_id: Option<String>
The ID of the file system to back up.
client_request_token: Option<String>
(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
(Optional) The tags to apply to the backup at backup creation. The key value of the Name
tag appears in the console as the backup name. If you have set CopyTagsToBackups
to true
, and you specify one or more tags using the CreateBackup
operation, no existing file system tags are copied from the file system to the backup.
volume_id: Option<String>
(Optional) The ID of the FSx for ONTAP volume to back up.
Implementations§
source§impl CreateBackupInput
impl CreateBackupInput
sourcepub fn file_system_id(&self) -> Option<&str>
pub fn file_system_id(&self) -> Option<&str>
The ID of the file system to back up.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
(Optional) The tags to apply to the backup at backup creation. The key value of the Name
tag appears in the console as the backup name. If you have set CopyTagsToBackups
to true
, and you specify one or more tags using the CreateBackup
operation, no existing file system tags are copied from the file system to the backup.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateBackupInput
impl CreateBackupInput
sourcepub fn builder() -> CreateBackupInputBuilder
pub fn builder() -> CreateBackupInputBuilder
Creates a new builder-style object to manufacture CreateBackupInput
.
Trait Implementations§
source§impl Clone for CreateBackupInput
impl Clone for CreateBackupInput
source§fn clone(&self) -> CreateBackupInput
fn clone(&self) -> CreateBackupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBackupInput
impl Debug for CreateBackupInput
source§impl PartialEq for CreateBackupInput
impl PartialEq for CreateBackupInput
source§fn eq(&self, other: &CreateBackupInput) -> bool
fn eq(&self, other: &CreateBackupInput) -> bool
self
and other
values to be equal, and is used
by ==
.