Struct aws_sdk_dynamodb::types::builders::RestoreSummaryBuilder
source · #[non_exhaustive]pub struct RestoreSummaryBuilder { /* private fields */ }
Expand description
A builder for RestoreSummary
.
Implementations§
source§impl RestoreSummaryBuilder
impl RestoreSummaryBuilder
sourcepub fn source_backup_arn(self, input: impl Into<String>) -> Self
pub fn source_backup_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the backup from which the table was restored.
sourcepub fn set_source_backup_arn(self, input: Option<String>) -> Self
pub fn set_source_backup_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the backup from which the table was restored.
sourcepub fn get_source_backup_arn(&self) -> &Option<String>
pub fn get_source_backup_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the backup from which the table was restored.
sourcepub fn source_table_arn(self, input: impl Into<String>) -> Self
pub fn source_table_arn(self, input: impl Into<String>) -> Self
The ARN of the source table of the backup that is being restored.
sourcepub fn set_source_table_arn(self, input: Option<String>) -> Self
pub fn set_source_table_arn(self, input: Option<String>) -> Self
The ARN of the source table of the backup that is being restored.
sourcepub fn get_source_table_arn(&self) -> &Option<String>
pub fn get_source_table_arn(&self) -> &Option<String>
The ARN of the source table of the backup that is being restored.
sourcepub fn restore_date_time(self, input: DateTime) -> Self
pub fn restore_date_time(self, input: DateTime) -> Self
Point in time or source backup time.
This field is required.sourcepub fn set_restore_date_time(self, input: Option<DateTime>) -> Self
pub fn set_restore_date_time(self, input: Option<DateTime>) -> Self
Point in time or source backup time.
sourcepub fn get_restore_date_time(&self) -> &Option<DateTime>
pub fn get_restore_date_time(&self) -> &Option<DateTime>
Point in time or source backup time.
sourcepub fn restore_in_progress(self, input: bool) -> Self
pub fn restore_in_progress(self, input: bool) -> Self
Indicates if a restore is in progress or not.
This field is required.sourcepub fn set_restore_in_progress(self, input: Option<bool>) -> Self
pub fn set_restore_in_progress(self, input: Option<bool>) -> Self
Indicates if a restore is in progress or not.
sourcepub fn get_restore_in_progress(&self) -> &Option<bool>
pub fn get_restore_in_progress(&self) -> &Option<bool>
Indicates if a restore is in progress or not.
sourcepub fn build(self) -> Result<RestoreSummary, BuildError>
pub fn build(self) -> Result<RestoreSummary, BuildError>
Consumes the builder and constructs a RestoreSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RestoreSummaryBuilder
impl Clone for RestoreSummaryBuilder
source§fn clone(&self) -> RestoreSummaryBuilder
fn clone(&self) -> RestoreSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RestoreSummaryBuilder
impl Debug for RestoreSummaryBuilder
source§impl Default for RestoreSummaryBuilder
impl Default for RestoreSummaryBuilder
source§fn default() -> RestoreSummaryBuilder
fn default() -> RestoreSummaryBuilder
source§impl PartialEq for RestoreSummaryBuilder
impl PartialEq for RestoreSummaryBuilder
source§fn eq(&self, other: &RestoreSummaryBuilder) -> bool
fn eq(&self, other: &RestoreSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RestoreSummaryBuilder
Auto Trait Implementations§
impl Freeze for RestoreSummaryBuilder
impl RefUnwindSafe for RestoreSummaryBuilder
impl Send for RestoreSummaryBuilder
impl Sync for RestoreSummaryBuilder
impl Unpin for RestoreSummaryBuilder
impl UnwindSafe for RestoreSummaryBuilder
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> 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)
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>
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