Struct aws_sdk_dynamodb::operation::update_continuous_backups::builders::UpdateContinuousBackupsFluentBuilder
source · pub struct UpdateContinuousBackupsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateContinuousBackups
.
UpdateContinuousBackups
enables or disables point in time recovery for the specified table. A successful UpdateContinuousBackups
call returns the current ContinuousBackupsDescription
. Continuous backups are ENABLED
on all tables at table creation. If point in time recovery is enabled, PointInTimeRecoveryStatus
will be set to ENABLED.
Once continuous backups and point in time recovery are enabled, you can restore to any point in time within EarliestRestorableDateTime
and LatestRestorableDateTime
.
LatestRestorableDateTime
is typically 5 minutes before the current time. You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days.
Implementations§
source§impl UpdateContinuousBackupsFluentBuilder
impl UpdateContinuousBackupsFluentBuilder
sourcepub fn as_input(&self) -> &UpdateContinuousBackupsInputBuilder
pub fn as_input(&self) -> &UpdateContinuousBackupsInputBuilder
Access the UpdateContinuousBackups as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateContinuousBackupsOutput, SdkError<UpdateContinuousBackupsError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateContinuousBackupsOutput, SdkError<UpdateContinuousBackupsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateContinuousBackupsOutput, UpdateContinuousBackupsError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateContinuousBackupsOutput, UpdateContinuousBackupsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 point_in_time_recovery_specification(
self,
input: PointInTimeRecoverySpecification,
) -> Self
pub fn point_in_time_recovery_specification( self, input: PointInTimeRecoverySpecification, ) -> Self
Represents the settings used to enable point in time recovery.
sourcepub fn set_point_in_time_recovery_specification(
self,
input: Option<PointInTimeRecoverySpecification>,
) -> Self
pub fn set_point_in_time_recovery_specification( self, input: Option<PointInTimeRecoverySpecification>, ) -> Self
Represents the settings used to enable point in time recovery.
sourcepub fn get_point_in_time_recovery_specification(
&self,
) -> &Option<PointInTimeRecoverySpecification>
pub fn get_point_in_time_recovery_specification( &self, ) -> &Option<PointInTimeRecoverySpecification>
Represents the settings used to enable point in time recovery.
Trait Implementations§
source§impl Clone for UpdateContinuousBackupsFluentBuilder
impl Clone for UpdateContinuousBackupsFluentBuilder
source§fn clone(&self) -> UpdateContinuousBackupsFluentBuilder
fn clone(&self) -> UpdateContinuousBackupsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateContinuousBackupsFluentBuilder
impl !RefUnwindSafe for UpdateContinuousBackupsFluentBuilder
impl Send for UpdateContinuousBackupsFluentBuilder
impl Sync for UpdateContinuousBackupsFluentBuilder
impl Unpin for UpdateContinuousBackupsFluentBuilder
impl !UnwindSafe for UpdateContinuousBackupsFluentBuilder
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