Struct aws_sdk_backup::model::CalculatedLifecycle [−][src]
#[non_exhaustive]pub struct CalculatedLifecycle {
pub move_to_cold_storage_at: Option<Instant>,
pub delete_at: Option<Instant>,
}
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 “expire after days” 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.
Only Amazon EFS file system backups can be transitioned to cold storage.
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<Instant>
A timestamp that specifies when to transition a recovery point to cold storage.
delete_at: Option<Instant>
A timestamp that specifies when to delete a recovery point.
Implementations
Creates a new builder-style object to manufacture CalculatedLifecycle
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CalculatedLifecycle
impl Send for CalculatedLifecycle
impl Sync for CalculatedLifecycle
impl Unpin for CalculatedLifecycle
impl UnwindSafe for CalculatedLifecycle
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more