Struct aws_sdk_backup::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleInput
source · #[non_exhaustive]pub struct UpdateRecoveryPointLifecycleInput {
pub backup_vault_name: Option<String>,
pub recovery_point_arn: Option<String>,
pub lifecycle: Option<Lifecycle>,
}
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.backup_vault_name: Option<String>
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
recovery_point_arn: Option<String>
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
lifecycle: Option<Lifecycle>
The lifecycle 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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, 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.
Implementations§
source§impl UpdateRecoveryPointLifecycleInput
impl UpdateRecoveryPointLifecycleInput
sourcepub fn backup_vault_name(&self) -> Option<&str>
pub fn backup_vault_name(&self) -> Option<&str>
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn recovery_point_arn(&self) -> Option<&str>
pub fn recovery_point_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
sourcepub fn lifecycle(&self) -> Option<&Lifecycle>
pub fn lifecycle(&self) -> Option<&Lifecycle>
The lifecycle 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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, 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.
source§impl UpdateRecoveryPointLifecycleInput
impl UpdateRecoveryPointLifecycleInput
sourcepub fn builder() -> UpdateRecoveryPointLifecycleInputBuilder
pub fn builder() -> UpdateRecoveryPointLifecycleInputBuilder
Creates a new builder-style object to manufacture UpdateRecoveryPointLifecycleInput
.
Trait Implementations§
source§impl Clone for UpdateRecoveryPointLifecycleInput
impl Clone for UpdateRecoveryPointLifecycleInput
source§fn clone(&self) -> UpdateRecoveryPointLifecycleInput
fn clone(&self) -> UpdateRecoveryPointLifecycleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateRecoveryPointLifecycleInput
impl PartialEq for UpdateRecoveryPointLifecycleInput
source§fn eq(&self, other: &UpdateRecoveryPointLifecycleInput) -> bool
fn eq(&self, other: &UpdateRecoveryPointLifecycleInput) -> bool
self
and other
values to be equal, and is used
by ==
.