Struct aws_sdk_backup::types::BackupPlan
source · #[non_exhaustive]pub struct BackupPlan {
pub backup_plan_name: Option<String>,
pub rules: Option<Vec<BackupRule>>,
pub advanced_backup_settings: Option<Vec<AdvancedBackupSetting>>,
}
Expand description
Contains an optional backup plan display name and an array of BackupRule
objects, each of which specifies a backup rule. Each rule in a backup plan is a separate scheduled task and can back up a different selection of Amazon Web Services resources.
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_plan_name: Option<String>
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
rules: Option<Vec<BackupRule>>
An array of BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.
advanced_backup_settings: Option<Vec<AdvancedBackupSetting>>
Contains a list of BackupOptions
for each resource type.
Implementations§
source§impl BackupPlan
impl BackupPlan
sourcepub fn backup_plan_name(&self) -> Option<&str>
pub fn backup_plan_name(&self) -> Option<&str>
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn rules(&self) -> Option<&[BackupRule]>
pub fn rules(&self) -> Option<&[BackupRule]>
An array of BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.
sourcepub fn advanced_backup_settings(&self) -> Option<&[AdvancedBackupSetting]>
pub fn advanced_backup_settings(&self) -> Option<&[AdvancedBackupSetting]>
Contains a list of BackupOptions
for each resource type.
source§impl BackupPlan
impl BackupPlan
sourcepub fn builder() -> BackupPlanBuilder
pub fn builder() -> BackupPlanBuilder
Creates a new builder-style object to manufacture BackupPlan
.
Trait Implementations§
source§impl Clone for BackupPlan
impl Clone for BackupPlan
source§fn clone(&self) -> BackupPlan
fn clone(&self) -> BackupPlan
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupPlan
impl Debug for BackupPlan
source§impl PartialEq<BackupPlan> for BackupPlan
impl PartialEq<BackupPlan> for BackupPlan
source§fn eq(&self, other: &BackupPlan) -> bool
fn eq(&self, other: &BackupPlan) -> bool
self
and other
values to be equal, and is used
by ==
.