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 ==
.impl StructuralPartialEq for BackupPlanInputBuilder
Auto Trait Implementations§
impl Freeze for BackupPlanInputBuilder
impl RefUnwindSafe for BackupPlanInputBuilder
impl Send for BackupPlanInputBuilder
impl Sync for BackupPlanInputBuilder
impl Unpin for BackupPlanInputBuilder
impl UnwindSafe for BackupPlanInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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