#[non_exhaustive]pub struct AwsBackupBackupPlanRuleCopyActionsDetails {
pub destination_backup_vault_arn: Option<String>,
pub lifecycle: Option<AwsBackupBackupPlanLifecycleDetails>,
}
Expand description
An array of CopyAction
objects, each of which contains details of the copy operation.
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.destination_backup_vault_arn: Option<String>
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
lifecycle: Option<AwsBackupBackupPlanLifecycleDetails>
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. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
Implementations§
source§impl AwsBackupBackupPlanRuleCopyActionsDetails
impl AwsBackupBackupPlanRuleCopyActionsDetails
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.
sourcepub fn lifecycle(&self) -> Option<&AwsBackupBackupPlanLifecycleDetails>
pub fn lifecycle(&self) -> Option<&AwsBackupBackupPlanLifecycleDetails>
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. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
source§impl AwsBackupBackupPlanRuleCopyActionsDetails
impl AwsBackupBackupPlanRuleCopyActionsDetails
sourcepub fn builder() -> AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
pub fn builder() -> AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
Creates a new builder-style object to manufacture AwsBackupBackupPlanRuleCopyActionsDetails
.
Trait Implementations§
source§impl Clone for AwsBackupBackupPlanRuleCopyActionsDetails
impl Clone for AwsBackupBackupPlanRuleCopyActionsDetails
source§fn clone(&self) -> AwsBackupBackupPlanRuleCopyActionsDetails
fn clone(&self) -> AwsBackupBackupPlanRuleCopyActionsDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsBackupBackupPlanRuleCopyActionsDetails
impl PartialEq for AwsBackupBackupPlanRuleCopyActionsDetails
source§fn eq(&self, other: &AwsBackupBackupPlanRuleCopyActionsDetails) -> bool
fn eq(&self, other: &AwsBackupBackupPlanRuleCopyActionsDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsBackupBackupPlanRuleCopyActionsDetails
Auto Trait Implementations§
impl Freeze for AwsBackupBackupPlanRuleCopyActionsDetails
impl RefUnwindSafe for AwsBackupBackupPlanRuleCopyActionsDetails
impl Send for AwsBackupBackupPlanRuleCopyActionsDetails
impl Sync for AwsBackupBackupPlanRuleCopyActionsDetails
impl Unpin for AwsBackupBackupPlanRuleCopyActionsDetails
impl UnwindSafe for AwsBackupBackupPlanRuleCopyActionsDetails
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more