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
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 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 opt_in_to_archive_for_supported_resources(self, input: bool) -> Self
pub fn opt_in_to_archive_for_supported_resources(self, input: bool) -> Self
Optional Boolean. If this is true, this setting will instruct your backup plan to transition 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
Optional Boolean. If this is true, this setting will instruct your backup plan to transition 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>
Optional Boolean. If this is true, this setting will instruct your backup plan to transition 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
source§fn eq(&self, other: &LifecycleBuilder) -> bool
fn eq(&self, other: &LifecycleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.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§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