Struct aws_sdk_backup::types::BackupPlan
source · #[non_exhaustive]pub struct BackupPlan {
pub backup_plan_name: String,
pub rules: 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: StringThe display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
rules: 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) -> &str
pub fn backup_plan_name(&self) -> &str
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn rules(&self) -> &[BackupRule]
pub fn rules(&self) -> &[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) -> &[AdvancedBackupSetting]
pub fn advanced_backup_settings(&self) -> &[AdvancedBackupSetting]
Contains a list of BackupOptions for each resource type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .advanced_backup_settings.is_none().
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 for BackupPlan
impl PartialEq 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 ==.impl StructuralPartialEq for BackupPlan
Auto Trait Implementations§
impl Freeze for BackupPlan
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more