Struct aws_sdk_backup::operation::update_recovery_point_lifecycle::UpdateRecoveryPointLifecycleOutput
source · #[non_exhaustive]pub struct UpdateRecoveryPointLifecycleOutput {
pub backup_vault_arn: Option<String>,
pub recovery_point_arn: Option<String>,
pub lifecycle: Option<Lifecycle>,
pub calculated_lifecycle: Option<CalculatedLifecycle>,
/* private fields */
}
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_arn: Option<String>
An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
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.
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.
calculated_lifecycle: Option<CalculatedLifecycle>
A CalculatedLifecycle
object containing DeleteAt
and MoveToColdStorageAt
timestamps.
Implementations§
source§impl UpdateRecoveryPointLifecycleOutput
impl UpdateRecoveryPointLifecycleOutput
sourcepub fn backup_vault_arn(&self) -> Option<&str>
pub fn backup_vault_arn(&self) -> Option<&str>
An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
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.
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 calculated_lifecycle(&self) -> Option<&CalculatedLifecycle>
pub fn calculated_lifecycle(&self) -> Option<&CalculatedLifecycle>
A CalculatedLifecycle
object containing DeleteAt
and MoveToColdStorageAt
timestamps.
source§impl UpdateRecoveryPointLifecycleOutput
impl UpdateRecoveryPointLifecycleOutput
sourcepub fn builder() -> UpdateRecoveryPointLifecycleOutputBuilder
pub fn builder() -> UpdateRecoveryPointLifecycleOutputBuilder
Creates a new builder-style object to manufacture UpdateRecoveryPointLifecycleOutput
.
Trait Implementations§
source§impl Clone for UpdateRecoveryPointLifecycleOutput
impl Clone for UpdateRecoveryPointLifecycleOutput
source§fn clone(&self) -> UpdateRecoveryPointLifecycleOutput
fn clone(&self) -> UpdateRecoveryPointLifecycleOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateRecoveryPointLifecycleOutput
impl PartialEq for UpdateRecoveryPointLifecycleOutput
source§fn eq(&self, other: &UpdateRecoveryPointLifecycleOutput) -> bool
fn eq(&self, other: &UpdateRecoveryPointLifecycleOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateRecoveryPointLifecycleOutput
impl RequestId for UpdateRecoveryPointLifecycleOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for UpdateRecoveryPointLifecycleOutput
Auto Trait Implementations§
impl Freeze for UpdateRecoveryPointLifecycleOutput
impl RefUnwindSafe for UpdateRecoveryPointLifecycleOutput
impl Send for UpdateRecoveryPointLifecycleOutput
impl Sync for UpdateRecoveryPointLifecycleOutput
impl Unpin for UpdateRecoveryPointLifecycleOutput
impl UnwindSafe for UpdateRecoveryPointLifecycleOutput
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