Struct aws_sdk_backup::model::BackupPlan
source · [−]#[non_exhaustive]pub struct BackupPlan { /* private fields */ }
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.
Implementations
sourceimpl 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.
sourceimpl BackupPlan
impl BackupPlan
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BackupPlan
.
Trait Implementations
sourceimpl Clone for BackupPlan
impl Clone for BackupPlan
sourcefn clone(&self) -> BackupPlan
fn clone(&self) -> BackupPlan
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 moresourceimpl Debug for BackupPlan
impl Debug for BackupPlan
sourceimpl PartialEq<BackupPlan> for BackupPlan
impl PartialEq<BackupPlan> for BackupPlan
sourcefn eq(&self, other: &BackupPlan) -> bool
fn eq(&self, other: &BackupPlan) -> bool
impl StructuralPartialEq for BackupPlan
Auto Trait Implementations
impl RefUnwindSafe for BackupPlan
impl Send for BackupPlan
impl Sync for BackupPlan
impl Unpin for BackupPlan
impl UnwindSafe for BackupPlan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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