Struct aws_sdk_backup::types::CopyAction  
source · #[non_exhaustive]pub struct CopyAction { /* private fields */ }Expand description
The details of the copy operation.
Implementations§
source§impl 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.
source§impl CopyAction
 
impl CopyAction
sourcepub fn builder() -> CopyActionBuilder
 
pub fn builder() -> CopyActionBuilder
Creates a new builder-style object to manufacture CopyAction.
Trait Implementations§
source§impl Clone for CopyAction
 
impl Clone for CopyAction
source§fn clone(&self) -> CopyAction
 
fn clone(&self) -> CopyAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CopyAction
 
impl Debug for CopyAction
source§impl PartialEq<CopyAction> for CopyAction
 
impl PartialEq<CopyAction> for CopyAction
source§fn eq(&self, other: &CopyAction) -> bool
 
fn eq(&self, other: &CopyAction) -> bool
self and other values to be equal, and is used
by ==.