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: StringThe 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 ==.impl StructuralPartialEq for BackupPlanInput
Auto Trait Implementations§
impl Freeze for BackupPlanInput
impl RefUnwindSafe for BackupPlanInput
impl Send for BackupPlanInput
impl Sync for BackupPlanInput
impl Unpin for BackupPlanInput
impl UnwindSafe for BackupPlanInput
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> 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