#[non_exhaustive]pub struct CreateBackupInputBuilder { /* private fields */ }
Expand description
A builder for CreateBackupInput
.
Implementations§
source§impl CreateBackupInputBuilder
impl CreateBackupInputBuilder
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
This field is required.sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
sourcepub fn backup_name(self, input: impl Into<String>) -> Self
pub fn backup_name(self, input: impl Into<String>) -> Self
Specified name for the backup.
This field is required.sourcepub fn set_backup_name(self, input: Option<String>) -> Self
pub fn set_backup_name(self, input: Option<String>) -> Self
Specified name for the backup.
sourcepub fn get_backup_name(&self) -> &Option<String>
pub fn get_backup_name(&self) -> &Option<String>
Specified name for the backup.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateBackupInputBuilder
impl PartialEq for CreateBackupInputBuilder
source§fn eq(&self, other: &CreateBackupInputBuilder) -> bool
fn eq(&self, other: &CreateBackupInputBuilder) -> bool
This method tests for
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.