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
.
Trait Implementations§
source§impl Clone for LifecycleBuilder
impl Clone for LifecycleBuilder
source§fn clone(&self) -> LifecycleBuilder
fn clone(&self) -> LifecycleBuilder
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 Debug for LifecycleBuilder
impl Debug for LifecycleBuilder
source§impl Default for LifecycleBuilder
impl Default for LifecycleBuilder
source§fn default() -> LifecycleBuilder
fn default() -> LifecycleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LifecycleBuilder
impl PartialEq for LifecycleBuilder
source§fn eq(&self, other: &LifecycleBuilder) -> bool
fn eq(&self, other: &LifecycleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LifecycleBuilder
Auto Trait Implementations§
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
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.