#[non_exhaustive]pub struct AwsBackupBackupPlanLifecycleDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsBackupBackupPlanLifecycleDetails
.
Implementations§
source§impl AwsBackupBackupPlanLifecycleDetailsBuilder
impl AwsBackupBackupPlanLifecycleDetailsBuilder
sourcepub fn delete_after_days(self, input: i64) -> Self
pub fn delete_after_days(self, input: i64) -> Self
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.
sourcepub fn set_delete_after_days(self, input: Option<i64>) -> Self
pub fn set_delete_after_days(self, input: Option<i64>) -> Self
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.
sourcepub fn get_delete_after_days(&self) -> &Option<i64>
pub fn get_delete_after_days(&self) -> &Option<i64>
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.
sourcepub fn move_to_cold_storage_after_days(self, input: i64) -> Self
pub fn move_to_cold_storage_after_days(self, input: i64) -> Self
Specifies the number of days after creation that a recovery point is moved to cold storage.
sourcepub fn set_move_to_cold_storage_after_days(self, input: Option<i64>) -> Self
pub fn set_move_to_cold_storage_after_days(self, input: Option<i64>) -> Self
Specifies the number of days after creation that a recovery point is moved to cold storage.
sourcepub fn get_move_to_cold_storage_after_days(&self) -> &Option<i64>
pub fn get_move_to_cold_storage_after_days(&self) -> &Option<i64>
Specifies the number of days after creation that a recovery point is moved to cold storage.
sourcepub fn build(self) -> AwsBackupBackupPlanLifecycleDetails
pub fn build(self) -> AwsBackupBackupPlanLifecycleDetails
Consumes the builder and constructs a AwsBackupBackupPlanLifecycleDetails
.
Trait Implementations§
source§impl Clone for AwsBackupBackupPlanLifecycleDetailsBuilder
impl Clone for AwsBackupBackupPlanLifecycleDetailsBuilder
source§fn clone(&self) -> AwsBackupBackupPlanLifecycleDetailsBuilder
fn clone(&self) -> AwsBackupBackupPlanLifecycleDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsBackupBackupPlanLifecycleDetailsBuilder
impl Default for AwsBackupBackupPlanLifecycleDetailsBuilder
source§fn default() -> AwsBackupBackupPlanLifecycleDetailsBuilder
fn default() -> AwsBackupBackupPlanLifecycleDetailsBuilder
source§impl PartialEq for AwsBackupBackupPlanLifecycleDetailsBuilder
impl PartialEq for AwsBackupBackupPlanLifecycleDetailsBuilder
source§fn eq(&self, other: &AwsBackupBackupPlanLifecycleDetailsBuilder) -> bool
fn eq(&self, other: &AwsBackupBackupPlanLifecycleDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsBackupBackupPlanLifecycleDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsBackupBackupPlanLifecycleDetailsBuilder
impl RefUnwindSafe for AwsBackupBackupPlanLifecycleDetailsBuilder
impl Send for AwsBackupBackupPlanLifecycleDetailsBuilder
impl Sync for AwsBackupBackupPlanLifecycleDetailsBuilder
impl Unpin for AwsBackupBackupPlanLifecycleDetailsBuilder
impl UnwindSafe for AwsBackupBackupPlanLifecycleDetailsBuilder
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> 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