Struct aws_sdk_securityhub::types::builders::AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
source · #[non_exhaustive]pub struct AwsBackupBackupPlanRuleCopyActionsDetailsBuilder { /* private fields */ }Expand description
A builder for AwsBackupBackupPlanRuleCopyActionsDetails.
Implementations§
source§impl AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
sourcepub fn destination_backup_vault_arn(self, input: impl Into<String>) -> Self
pub fn destination_backup_vault_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
sourcepub fn set_destination_backup_vault_arn(self, input: Option<String>) -> Self
pub fn set_destination_backup_vault_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
sourcepub fn get_destination_backup_vault_arn(&self) -> &Option<String>
pub fn get_destination_backup_vault_arn(&self) -> &Option<String>
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
sourcepub fn lifecycle(self, input: AwsBackupBackupPlanLifecycleDetails) -> Self
pub fn lifecycle(self, input: AwsBackupBackupPlanLifecycleDetails) -> Self
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.
sourcepub fn set_lifecycle(
self,
input: Option<AwsBackupBackupPlanLifecycleDetails>,
) -> Self
pub fn set_lifecycle( self, input: Option<AwsBackupBackupPlanLifecycleDetails>, ) -> Self
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.
sourcepub fn get_lifecycle(&self) -> &Option<AwsBackupBackupPlanLifecycleDetails>
pub fn get_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.
sourcepub fn build(self) -> AwsBackupBackupPlanRuleCopyActionsDetails
pub fn build(self) -> AwsBackupBackupPlanRuleCopyActionsDetails
Consumes the builder and constructs a AwsBackupBackupPlanRuleCopyActionsDetails.
Trait Implementations§
source§impl Clone for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl Clone for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
source§fn clone(&self) -> AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
fn clone(&self) -> AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl Default for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
source§fn default() -> AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
fn default() -> AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
source§impl PartialEq for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl PartialEq for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
source§fn eq(&self, other: &AwsBackupBackupPlanRuleCopyActionsDetailsBuilder) -> bool
fn eq(&self, other: &AwsBackupBackupPlanRuleCopyActionsDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl RefUnwindSafe for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl Send for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl Sync for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl Unpin for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
impl UnwindSafe for AwsBackupBackupPlanRuleCopyActionsDetailsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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