#[non_exhaustive]pub struct PointInTimeRecoverySpecificationBuilder { /* private fields */ }
Expand description
A builder for PointInTimeRecoverySpecification
.
Implementations§
source§impl PointInTimeRecoverySpecificationBuilder
impl PointInTimeRecoverySpecificationBuilder
sourcepub fn point_in_time_recovery_enabled(self, input: bool) -> Self
pub fn point_in_time_recovery_enabled(self, input: bool) -> Self
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
This field is required.sourcepub fn set_point_in_time_recovery_enabled(self, input: Option<bool>) -> Self
pub fn set_point_in_time_recovery_enabled(self, input: Option<bool>) -> Self
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
sourcepub fn get_point_in_time_recovery_enabled(&self) -> &Option<bool>
pub fn get_point_in_time_recovery_enabled(&self) -> &Option<bool>
Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
sourcepub fn recovery_period_in_days(self, input: i32) -> Self
pub fn recovery_period_in_days(self, input: i32) -> Self
The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional. If no value is provided, the value will default to 35.
sourcepub fn set_recovery_period_in_days(self, input: Option<i32>) -> Self
pub fn set_recovery_period_in_days(self, input: Option<i32>) -> Self
The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional. If no value is provided, the value will default to 35.
sourcepub fn get_recovery_period_in_days(&self) -> &Option<i32>
pub fn get_recovery_period_in_days(&self) -> &Option<i32>
The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional. If no value is provided, the value will default to 35.
sourcepub fn build(self) -> Result<PointInTimeRecoverySpecification, BuildError>
pub fn build(self) -> Result<PointInTimeRecoverySpecification, BuildError>
Consumes the builder and constructs a PointInTimeRecoverySpecification
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PointInTimeRecoverySpecificationBuilder
impl Clone for PointInTimeRecoverySpecificationBuilder
source§fn clone(&self) -> PointInTimeRecoverySpecificationBuilder
fn clone(&self) -> PointInTimeRecoverySpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PointInTimeRecoverySpecificationBuilder
impl Default for PointInTimeRecoverySpecificationBuilder
source§fn default() -> PointInTimeRecoverySpecificationBuilder
fn default() -> PointInTimeRecoverySpecificationBuilder
source§impl PartialEq for PointInTimeRecoverySpecificationBuilder
impl PartialEq for PointInTimeRecoverySpecificationBuilder
source§fn eq(&self, other: &PointInTimeRecoverySpecificationBuilder) -> bool
fn eq(&self, other: &PointInTimeRecoverySpecificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PointInTimeRecoverySpecificationBuilder
Auto Trait Implementations§
impl Freeze for PointInTimeRecoverySpecificationBuilder
impl RefUnwindSafe for PointInTimeRecoverySpecificationBuilder
impl Send for PointInTimeRecoverySpecificationBuilder
impl Sync for PointInTimeRecoverySpecificationBuilder
impl Unpin for PointInTimeRecoverySpecificationBuilder
impl UnwindSafe for PointInTimeRecoverySpecificationBuilder
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