#[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 for CreateBackupInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for CreateBackupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateBackupInputBuilder
impl RefUnwindSafe for CreateBackupInputBuilder
impl Send for CreateBackupInputBuilder
impl Sync for CreateBackupInputBuilder
impl Unpin for CreateBackupInputBuilder
impl UnwindSafe for CreateBackupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more