#[non_exhaustive]pub struct AwsBackupBackupPlanAdvancedBackupSettingsDetails {
pub backup_options: Option<HashMap<String, String>>,
pub resource_type: Option<String>,
}
Expand description
Provides 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.backup_options: Option<HashMap<String, String>>
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
-
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. TheWindowsVSS
option is not enabled by default.
resource_type: Option<String>
The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows VSS.
The only valid value is EC2
.
Implementations§
source§impl AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl AwsBackupBackupPlanAdvancedBackupSettingsDetails
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 Volume Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
-
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. TheWindowsVSS
option is not enabled by default.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows VSS.
The only valid value is EC2
.
source§impl AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl AwsBackupBackupPlanAdvancedBackupSettingsDetails
sourcepub fn builder() -> AwsBackupBackupPlanAdvancedBackupSettingsDetailsBuilder
pub fn builder() -> AwsBackupBackupPlanAdvancedBackupSettingsDetailsBuilder
Creates a new builder-style object to manufacture AwsBackupBackupPlanAdvancedBackupSettingsDetails
.
Trait Implementations§
source§impl Clone for AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl Clone for AwsBackupBackupPlanAdvancedBackupSettingsDetails
source§fn clone(&self) -> AwsBackupBackupPlanAdvancedBackupSettingsDetails
fn clone(&self) -> AwsBackupBackupPlanAdvancedBackupSettingsDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl PartialEq for AwsBackupBackupPlanAdvancedBackupSettingsDetails
source§fn eq(&self, other: &AwsBackupBackupPlanAdvancedBackupSettingsDetails) -> bool
fn eq(&self, other: &AwsBackupBackupPlanAdvancedBackupSettingsDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsBackupBackupPlanAdvancedBackupSettingsDetails
Auto Trait Implementations§
impl Freeze for AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl RefUnwindSafe for AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl Send for AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl Sync for AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl Unpin for AwsBackupBackupPlanAdvancedBackupSettingsDetails
impl UnwindSafe for AwsBackupBackupPlanAdvancedBackupSettingsDetails
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