Struct aws_sdk_backup::types::builders::LifecycleBuilder
source · #[non_exhaustive]pub struct LifecycleBuilder { /* private fields */ }
Expand description
A builder for Lifecycle
.
Implementations§
source§impl LifecycleBuilder
impl LifecycleBuilder
sourcepub fn move_to_cold_storage_after_days(self, input: i64) -> Self
pub fn move_to_cold_storage_after_days(self, input: i64) -> Self
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
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>
The number of days after creation that a recovery point is moved to cold storage.
sourcepub fn delete_after_days(self, input: i64) -> Self
pub fn delete_after_days(self, input: i64) -> Self
The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in MoveToColdStorageAfterDays
.
sourcepub fn set_delete_after_days(self, input: Option<i64>) -> Self
pub fn set_delete_after_days(self, input: Option<i64>) -> Self
The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in MoveToColdStorageAfterDays
.
sourcepub fn get_delete_after_days(&self) -> &Option<i64>
pub fn get_delete_after_days(&self) -> &Option<i64>
The number of days after creation that a recovery point is deleted. This value must be at least 90 days after the number of days specified in MoveToColdStorageAfterDays
.
sourcepub fn opt_in_to_archive_for_supported_resources(self, input: bool) -> Self
pub fn opt_in_to_archive_for_supported_resources(self, input: bool) -> Self
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
sourcepub fn set_opt_in_to_archive_for_supported_resources(
self,
input: Option<bool>,
) -> Self
pub fn set_opt_in_to_archive_for_supported_resources( self, input: Option<bool>, ) -> Self
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
sourcepub fn get_opt_in_to_archive_for_supported_resources(&self) -> &Option<bool>
pub fn get_opt_in_to_archive_for_supported_resources(&self) -> &Option<bool>
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
Trait Implementations§
source§impl Clone for LifecycleBuilder
impl Clone for LifecycleBuilder
source§fn clone(&self) -> LifecycleBuilder
fn clone(&self) -> LifecycleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LifecycleBuilder
impl Debug for LifecycleBuilder
source§impl Default for LifecycleBuilder
impl Default for LifecycleBuilder
source§fn default() -> LifecycleBuilder
fn default() -> LifecycleBuilder
source§impl PartialEq for LifecycleBuilder
impl PartialEq for LifecycleBuilder
impl StructuralPartialEq for LifecycleBuilder
Auto Trait Implementations§
impl Freeze for LifecycleBuilder
impl RefUnwindSafe for LifecycleBuilder
impl Send for LifecycleBuilder
impl Sync for LifecycleBuilder
impl Unpin for LifecycleBuilder
impl UnwindSafe for LifecycleBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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