#[non_exhaustive]pub struct PointInTimeRecoverySummaryBuilder { /* private fields */ }
Expand description
A builder for PointInTimeRecoverySummary
.
Implementations§
source§impl PointInTimeRecoverySummaryBuilder
impl PointInTimeRecoverySummaryBuilder
sourcepub fn status(self, input: PointInTimeRecoveryStatus) -> Self
pub fn status(self, input: PointInTimeRecoveryStatus) -> Self
Shows if point-in-time recovery is enabled or disabled for the specified table.
This field is required.sourcepub fn set_status(self, input: Option<PointInTimeRecoveryStatus>) -> Self
pub fn set_status(self, input: Option<PointInTimeRecoveryStatus>) -> Self
Shows if point-in-time recovery is enabled or disabled for the specified table.
sourcepub fn get_status(&self) -> &Option<PointInTimeRecoveryStatus>
pub fn get_status(&self) -> &Option<PointInTimeRecoveryStatus>
Shows if point-in-time recovery is enabled or disabled for the specified table.
sourcepub fn earliest_restorable_timestamp(self, input: DateTime) -> Self
pub fn earliest_restorable_timestamp(self, input: DateTime) -> Self
Specifies the earliest possible restore point of the table in ISO 8601 format.
sourcepub fn set_earliest_restorable_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_earliest_restorable_timestamp(self, input: Option<DateTime>) -> Self
Specifies the earliest possible restore point of the table in ISO 8601 format.
sourcepub fn get_earliest_restorable_timestamp(&self) -> &Option<DateTime>
pub fn get_earliest_restorable_timestamp(&self) -> &Option<DateTime>
Specifies the earliest possible restore point of the table in ISO 8601 format.
sourcepub fn build(self) -> Result<PointInTimeRecoverySummary, BuildError>
pub fn build(self) -> Result<PointInTimeRecoverySummary, BuildError>
Consumes the builder and constructs a PointInTimeRecoverySummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PointInTimeRecoverySummaryBuilder
impl Clone for PointInTimeRecoverySummaryBuilder
source§fn clone(&self) -> PointInTimeRecoverySummaryBuilder
fn clone(&self) -> PointInTimeRecoverySummaryBuilder
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 Default for PointInTimeRecoverySummaryBuilder
impl Default for PointInTimeRecoverySummaryBuilder
source§fn default() -> PointInTimeRecoverySummaryBuilder
fn default() -> PointInTimeRecoverySummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PointInTimeRecoverySummaryBuilder
impl PartialEq for PointInTimeRecoverySummaryBuilder
source§fn eq(&self, other: &PointInTimeRecoverySummaryBuilder) -> bool
fn eq(&self, other: &PointInTimeRecoverySummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PointInTimeRecoverySummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PointInTimeRecoverySummaryBuilder
impl Send for PointInTimeRecoverySummaryBuilder
impl Sync for PointInTimeRecoverySummaryBuilder
impl Unpin for PointInTimeRecoverySummaryBuilder
impl UnwindSafe for PointInTimeRecoverySummaryBuilder
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> 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>
Creates a shared type from an unshared type.