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 ==
.