Struct aws_sdk_backup::model::backup_plan_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for BackupPlanInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn backup_plan_name(self, input: impl Into<String>) -> Self
pub fn backup_plan_name(self, input: impl Into<String>) -> Self
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn set_backup_plan_name(self, input: Option<String>) -> Self
pub fn set_backup_plan_name(self, input: Option<String>) -> Self
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn rules(self, input: BackupRuleInput) -> Self
pub fn rules(self, input: BackupRuleInput) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
An array of BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.
sourcepub fn set_rules(self, input: Option<Vec<BackupRuleInput>>) -> Self
pub fn set_rules(self, input: Option<Vec<BackupRuleInput>>) -> Self
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, input: AdvancedBackupSetting) -> Self
pub fn advanced_backup_settings(self, input: AdvancedBackupSetting) -> Self
Appends an item to advanced_backup_settings
.
To override the contents of this collection use set_advanced_backup_settings
.
Specifies a list of BackupOptions
for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
sourcepub fn set_advanced_backup_settings(
self,
input: Option<Vec<AdvancedBackupSetting>>
) -> Self
pub fn set_advanced_backup_settings(
self,
input: Option<Vec<AdvancedBackupSetting>>
) -> Self
Specifies a list of BackupOptions
for each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
sourcepub fn build(self) -> BackupPlanInput
pub fn build(self) -> BackupPlanInput
Consumes the builder and constructs a BackupPlanInput
.