Struct aws_sdk_backup::model::CopyAction
source · [−]#[non_exhaustive]pub struct CopyAction { /* private fields */ }
Expand description
The details of the copy operation.
Implementations
sourceimpl CopyAction
impl CopyAction
sourcepub fn lifecycle(&self) -> Option<&Lifecycle>
pub fn lifecycle(&self) -> Option<&Lifecycle>
Contains an array of Transition
objects specifying how long in days before a recovery point transitions to cold storage or is deleted.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, 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.
sourcepub fn destination_backup_vault_arn(&self) -> Option<&str>
pub fn destination_backup_vault_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
sourceimpl CopyAction
impl CopyAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CopyAction
.
Trait Implementations
sourceimpl Clone for CopyAction
impl Clone for CopyAction
sourcefn clone(&self) -> CopyAction
fn clone(&self) -> CopyAction
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more