Struct aws_sdk_backup::types::CalculatedLifecycle
source · #[non_exhaustive]pub struct CalculatedLifecycle {
pub move_to_cold_storage_at: Option<DateTime>,
pub delete_at: Option<DateTime>,
}
Expand description
Contains DeleteAt
and MoveToColdStorageAt
timestamps, which are used to specify a lifecycle for a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.move_to_cold_storage_at: Option<DateTime>
A timestamp that specifies when to transition a recovery point to cold storage.
delete_at: Option<DateTime>
A timestamp that specifies when to delete a recovery point.
Implementations§
source§impl CalculatedLifecycle
impl CalculatedLifecycle
sourcepub fn builder() -> CalculatedLifecycleBuilder
pub fn builder() -> CalculatedLifecycleBuilder
Creates a new builder-style object to manufacture CalculatedLifecycle
.
Trait Implementations§
source§impl Clone for CalculatedLifecycle
impl Clone for CalculatedLifecycle
source§fn clone(&self) -> CalculatedLifecycle
fn clone(&self) -> CalculatedLifecycle
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CalculatedLifecycle
impl Debug for CalculatedLifecycle
source§impl PartialEq for CalculatedLifecycle
impl PartialEq for CalculatedLifecycle
source§fn eq(&self, other: &CalculatedLifecycle) -> bool
fn eq(&self, other: &CalculatedLifecycle) -> bool
self
and other
values to be equal, and is used
by ==
.