Struct aws_sdk_backup::model::BackupPlanInput
source · [−]#[non_exhaustive]pub struct BackupPlanInput {
pub backup_plan_name: Option<String>,
pub rules: Option<Vec<BackupRuleInput>>,
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.
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<BackupRuleInput>>
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>>
Specifies a list of BackupOptions
for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Implementations
sourceimpl BackupPlanInput
impl BackupPlanInput
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<&[BackupRuleInput]>
pub fn rules(&self) -> Option<&[BackupRuleInput]>
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]>
Specifies a list of BackupOptions
for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
sourceimpl BackupPlanInput
impl BackupPlanInput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BackupPlanInput
Trait Implementations
sourceimpl Clone for BackupPlanInput
impl Clone for BackupPlanInput
sourcefn clone(&self) -> BackupPlanInput
fn clone(&self) -> BackupPlanInput
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 BackupPlanInput
impl Debug for BackupPlanInput
sourceimpl PartialEq<BackupPlanInput> for BackupPlanInput
impl PartialEq<BackupPlanInput> for BackupPlanInput
sourcefn eq(&self, other: &BackupPlanInput) -> bool
fn eq(&self, other: &BackupPlanInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BackupPlanInput) -> bool
fn ne(&self, other: &BackupPlanInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for BackupPlanInput
Auto Trait Implementations
impl RefUnwindSafe for BackupPlanInput
impl Send for BackupPlanInput
impl Sync for BackupPlanInput
impl Unpin for BackupPlanInput
impl UnwindSafe for BackupPlanInput
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