Struct aws_sdk_backup::types::BackupPlanInput
source · #[non_exhaustive]pub struct BackupPlanInput {
pub backup_plan_name: String,
pub rules: 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: String
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
rules: 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§
source§impl BackupPlanInput
impl BackupPlanInput
sourcepub fn backup_plan_name(&self) -> &str
pub fn backup_plan_name(&self) -> &str
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn rules(&self) -> &[BackupRuleInput]
pub fn rules(&self) -> &[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) -> &[AdvancedBackupSetting]
pub fn advanced_backup_settings(&self) -> &[AdvancedBackupSetting]
Specifies a list of BackupOptions
for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .advanced_backup_settings.is_none()
.
source§impl BackupPlanInput
impl BackupPlanInput
sourcepub fn builder() -> BackupPlanInputBuilder
pub fn builder() -> BackupPlanInputBuilder
Creates a new builder-style object to manufacture BackupPlanInput
.
Trait Implementations§
source§impl Clone for BackupPlanInput
impl Clone for BackupPlanInput
source§fn clone(&self) -> BackupPlanInput
fn clone(&self) -> BackupPlanInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupPlanInput
impl Debug for BackupPlanInput
source§impl PartialEq for BackupPlanInput
impl PartialEq for BackupPlanInput
source§fn eq(&self, other: &BackupPlanInput) -> bool
fn eq(&self, other: &BackupPlanInput) -> bool
self
and other
values to be equal, and is used
by ==
.