#[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
sourceimpl UpdateRecoveryPointLifecycleInput
impl UpdateRecoveryPointLifecycleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRecoveryPointLifecycle, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRecoveryPointLifecycle, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateRecoveryPointLifecycle
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateRecoveryPointLifecycleInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for UpdateRecoveryPointLifecycleInput
impl Clone for UpdateRecoveryPointLifecycleInput
sourcefn clone(&self) -> UpdateRecoveryPointLifecycleInput
fn clone(&self) -> UpdateRecoveryPointLifecycleInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<UpdateRecoveryPointLifecycleInput> for UpdateRecoveryPointLifecycleInput
impl PartialEq<UpdateRecoveryPointLifecycleInput> for UpdateRecoveryPointLifecycleInput
sourcefn eq(&self, other: &UpdateRecoveryPointLifecycleInput) -> bool
fn eq(&self, other: &UpdateRecoveryPointLifecycleInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateRecoveryPointLifecycleInput) -> bool
fn ne(&self, other: &UpdateRecoveryPointLifecycleInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateRecoveryPointLifecycleInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateRecoveryPointLifecycleInput
impl Send for UpdateRecoveryPointLifecycleInput
impl Sync for UpdateRecoveryPointLifecycleInput
impl Unpin for UpdateRecoveryPointLifecycleInput
impl UnwindSafe for UpdateRecoveryPointLifecycleInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more