#[non_exhaustive]pub struct AwsBackupBackupPlanRuleDetails { /* private fields */ }
Expand description
Provides details about an array of BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.
Implementations§
source§impl AwsBackupBackupPlanRuleDetails
impl AwsBackupBackupPlanRuleDetails
sourcepub fn target_backup_vault(&self) -> Option<&str>
pub fn target_backup_vault(&self) -> Option<&str>
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
sourcepub fn start_window_minutes(&self) -> i64
pub fn start_window_minutes(&self) -> i64
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.
sourcepub fn schedule_expression(&self) -> Option<&str>
pub fn schedule_expression(&self) -> Option<&str>
A cron expression in UTC specifying when Backup initiates a backup job.
sourcepub fn rule_name(&self) -> Option<&str>
pub fn rule_name(&self) -> Option<&str>
A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn rule_id(&self) -> Option<&str>
pub fn rule_id(&self) -> Option<&str>
Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
sourcepub fn enable_continuous_backup(&self) -> bool
pub fn enable_continuous_backup(&self) -> bool
Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).
sourcepub fn completion_window_minutes(&self) -> i64
pub fn completion_window_minutes(&self) -> i64
A value in minutes after a backup job is successfully started before it must be completed, or it is canceled by Backup.
sourcepub fn copy_actions(
&self
) -> Option<&[AwsBackupBackupPlanRuleCopyActionsDetails]>
pub fn copy_actions(
&self
) -> Option<&[AwsBackupBackupPlanRuleCopyActionsDetails]>
An array of CopyAction
objects, each of which contains details of the copy operation.
sourcepub fn lifecycle(&self) -> Option<&AwsBackupBackupPlanLifecycleDetails>
pub fn 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.
source§impl AwsBackupBackupPlanRuleDetails
impl AwsBackupBackupPlanRuleDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsBackupBackupPlanRuleDetails
.
Trait Implementations§
source§impl Clone for AwsBackupBackupPlanRuleDetails
impl Clone for AwsBackupBackupPlanRuleDetails
source§fn clone(&self) -> AwsBackupBackupPlanRuleDetails
fn clone(&self) -> AwsBackupBackupPlanRuleDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<AwsBackupBackupPlanRuleDetails> for AwsBackupBackupPlanRuleDetails
impl PartialEq<AwsBackupBackupPlanRuleDetails> for AwsBackupBackupPlanRuleDetails
source§fn eq(&self, other: &AwsBackupBackupPlanRuleDetails) -> bool
fn eq(&self, other: &AwsBackupBackupPlanRuleDetails) -> bool
self
and other
values to be equal, and is used
by ==
.