Struct aws_sdk_backup::types::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§
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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
Mutably borrows from an owned value. Read more