#[non_exhaustive]pub struct DeleteBackupInputBuilder { /* private fields */ }
Expand description
A builder for DeleteBackupInput
.
Implementations§
source§impl DeleteBackupInputBuilder
impl DeleteBackupInputBuilder
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 that you want to delete.
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 that you want to delete.
sourcepub fn get_backup_id(&self) -> &Option<String>
pub fn get_backup_id(&self) -> &Option<String>
The ID of the backup that you want to delete.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This parameter is automatically filled on your behalf when using the CLI or SDK.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This parameter is automatically filled on your behalf when using the CLI or SDK.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This parameter is automatically filled on your behalf when using the CLI or SDK.
sourcepub fn build(self) -> Result<DeleteBackupInput, BuildError>
pub fn build(self) -> Result<DeleteBackupInput, BuildError>
Consumes the builder and constructs a DeleteBackupInput
.
source§impl DeleteBackupInputBuilder
impl DeleteBackupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteBackupOutput, SdkError<DeleteBackupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteBackupOutput, SdkError<DeleteBackupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteBackupInputBuilder
impl Clone for DeleteBackupInputBuilder
source§fn clone(&self) -> DeleteBackupInputBuilder
fn clone(&self) -> DeleteBackupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteBackupInputBuilder
impl Debug for DeleteBackupInputBuilder
source§impl Default for DeleteBackupInputBuilder
impl Default for DeleteBackupInputBuilder
source§fn default() -> DeleteBackupInputBuilder
fn default() -> DeleteBackupInputBuilder
source§impl PartialEq for DeleteBackupInputBuilder
impl PartialEq for DeleteBackupInputBuilder
source§fn eq(&self, other: &DeleteBackupInputBuilder) -> bool
fn eq(&self, other: &DeleteBackupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.