Struct aws_sdk_backup::types::AdvancedBackupSetting
source · #[non_exhaustive]pub struct AdvancedBackupSetting {
pub resource_type: Option<String>,
pub backup_options: Option<HashMap<String, String>>,
}
Expand description
A list of backup options for each resource type.
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.resource_type: Option<String>
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
.
backup_options: 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.
Implementations§
source§impl 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.
source§impl AdvancedBackupSetting
impl AdvancedBackupSetting
sourcepub fn builder() -> AdvancedBackupSettingBuilder
pub fn builder() -> AdvancedBackupSettingBuilder
Creates a new builder-style object to manufacture AdvancedBackupSetting
.
Trait Implementations§
source§impl Clone for AdvancedBackupSetting
impl Clone for AdvancedBackupSetting
source§fn clone(&self) -> AdvancedBackupSetting
fn clone(&self) -> AdvancedBackupSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdvancedBackupSetting
impl Debug for AdvancedBackupSetting
source§impl PartialEq for AdvancedBackupSetting
impl PartialEq for AdvancedBackupSetting
source§fn eq(&self, other: &AdvancedBackupSetting) -> bool
fn eq(&self, other: &AdvancedBackupSetting) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdvancedBackupSetting
Auto Trait Implementations§
impl Freeze for AdvancedBackupSetting
impl RefUnwindSafe for AdvancedBackupSetting
impl Send for AdvancedBackupSetting
impl Sync for AdvancedBackupSetting
impl Unpin for AdvancedBackupSetting
impl UnwindSafe for AdvancedBackupSetting
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