#[non_exhaustive]pub struct CreateBackupInputBuilder { /* private fields */ }Expand description
A builder for CreateBackupInput.
Implementations§
source§impl CreateBackupInputBuilder
impl CreateBackupInputBuilder
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The ID of the file system to back up.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The ID of the file system to back up.
sourcepub fn get_file_system_id(&self) -> &Option<String>
pub fn get_file_system_id(&self) -> &Option<String>
The ID of the file system to back up.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
(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.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
(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.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &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.
Appends an item to tags.
To override the contents of this collection use set_tags.
(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.
(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.
(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.
sourcepub fn volume_id(self, input: impl Into<String>) -> Self
pub fn volume_id(self, input: impl Into<String>) -> Self
(Optional) The ID of the FSx for ONTAP volume to back up.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
(Optional) The ID of the FSx for ONTAP volume to back up.
sourcepub fn get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
(Optional) The ID of the FSx for ONTAP volume to back up.
sourcepub fn build(self) -> Result<CreateBackupInput, BuildError>
pub fn build(self) -> Result<CreateBackupInput, BuildError>
Consumes the builder and constructs a CreateBackupInput.
source§impl CreateBackupInputBuilder
impl CreateBackupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateBackupOutput, SdkError<CreateBackupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateBackupOutput, SdkError<CreateBackupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateBackupInputBuilder
impl Clone for CreateBackupInputBuilder
source§fn clone(&self) -> CreateBackupInputBuilder
fn clone(&self) -> CreateBackupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateBackupInputBuilder
impl Debug for CreateBackupInputBuilder
source§impl Default for CreateBackupInputBuilder
impl Default for CreateBackupInputBuilder
source§fn default() -> CreateBackupInputBuilder
fn default() -> CreateBackupInputBuilder
source§impl PartialEq<CreateBackupInputBuilder> for CreateBackupInputBuilder
impl PartialEq<CreateBackupInputBuilder> for CreateBackupInputBuilder
source§fn eq(&self, other: &CreateBackupInputBuilder) -> bool
fn eq(&self, other: &CreateBackupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.