Struct aws_sdk_backup::types::builders::BackupPlanInputBuilder
source · #[non_exhaustive]pub struct BackupPlanInputBuilder { /* private fields */ }
Expand description
A builder for BackupPlanInput
.
Implementations§
source§impl BackupPlanInputBuilder
impl BackupPlanInputBuilder
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.
This field is required.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 get_backup_plan_name(&self) -> &Option<String>
pub fn get_backup_plan_name(&self) -> &Option<String>
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 get_rules(&self) -> &Option<Vec<BackupRuleInput>>
pub fn get_rules(&self) -> &Option<Vec<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, 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 get_advanced_backup_settings(
&self
) -> &Option<Vec<AdvancedBackupSetting>>
pub fn get_advanced_backup_settings( &self ) -> &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.
sourcepub fn build(self) -> Result<BackupPlanInput, BuildError>
pub fn build(self) -> Result<BackupPlanInput, BuildError>
Consumes the builder and constructs a BackupPlanInput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BackupPlanInputBuilder
impl Clone for BackupPlanInputBuilder
source§fn clone(&self) -> BackupPlanInputBuilder
fn clone(&self) -> BackupPlanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupPlanInputBuilder
impl Debug for BackupPlanInputBuilder
source§impl Default for BackupPlanInputBuilder
impl Default for BackupPlanInputBuilder
source§fn default() -> BackupPlanInputBuilder
fn default() -> BackupPlanInputBuilder
source§impl PartialEq for BackupPlanInputBuilder
impl PartialEq for BackupPlanInputBuilder
source§fn eq(&self, other: &BackupPlanInputBuilder) -> bool
fn eq(&self, other: &BackupPlanInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.