Struct aws_sdk_backup::model::backup_plan::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BackupPlan
.
Implementations§
source§impl 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: BackupRule) -> Self
pub fn rules(self, input: BackupRule) -> 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<BackupRule>>) -> Self
pub fn set_rules(self, input: Option<Vec<BackupRule>>) -> 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
.
Contains a list of BackupOptions
for each resource type.
sourcepub fn set_advanced_backup_settings(
self,
input: Option<Vec<AdvancedBackupSetting>>
) -> Self
pub fn set_advanced_backup_settings(
self,
input: Option<Vec<AdvancedBackupSetting>>
) -> Self
Contains a list of BackupOptions
for each resource type.
sourcepub fn build(self) -> BackupPlan
pub fn build(self) -> BackupPlan
Consumes the builder and constructs a BackupPlan
.