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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
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 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