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 ==
.