Struct aws_sdk_backup::model::AdvancedBackupSetting
source · [−]#[non_exhaustive]pub struct AdvancedBackupSetting { /* private fields */ }
Expand description
A list of backup options for each resource type.
Implementations
sourceimpl AdvancedBackupSetting
impl AdvancedBackupSetting
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
Specifies an object containing resource type and backup options. The only supported resource type is Amazon EC2 instances with Windows Volume Shadow Copy Service (VSS). For a CloudFormation example, see the sample CloudFormation template to enable Windows VSS in the Backup User Guide.
Valid values: EC2
.
sourcepub fn backup_options(&self) -> Option<&HashMap<String, String>>
pub fn backup_options(&self) -> Option<&HashMap<String, String>>
Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.
Valid values:
Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup option and create a Windows VSS backup.
Set to "WindowsVSS":"disabled"
to create a regular backup. The WindowsVSS
option is not enabled by default.
If you specify an invalid option, you get an InvalidParameterValueException
exception.
For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.
sourceimpl AdvancedBackupSetting
impl AdvancedBackupSetting
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AdvancedBackupSetting
.
Trait Implementations
sourceimpl Clone for AdvancedBackupSetting
impl Clone for AdvancedBackupSetting
sourcefn clone(&self) -> AdvancedBackupSetting
fn clone(&self) -> AdvancedBackupSetting
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 AdvancedBackupSetting
impl Debug for AdvancedBackupSetting
sourceimpl PartialEq<AdvancedBackupSetting> for AdvancedBackupSetting
impl PartialEq<AdvancedBackupSetting> for AdvancedBackupSetting
sourcefn eq(&self, other: &AdvancedBackupSetting) -> bool
fn eq(&self, other: &AdvancedBackupSetting) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for AdvancedBackupSetting
Auto Trait Implementations
impl RefUnwindSafe for AdvancedBackupSetting
impl Send for AdvancedBackupSetting
impl Sync for AdvancedBackupSetting
impl Unpin for AdvancedBackupSetting
impl UnwindSafe for AdvancedBackupSetting
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