[−][src]Struct rusoto_backup::BackupRuleInput
Specifies a scheduled task used to back up a selection of resources.
Fields
completion_window_minutes: Option<i64>
A value in minutes after a backup job is successfully started before it must be completed or it will be canceled by AWS Backup. This value is optional.
copy_actions: Option<Vec<CopyAction>>
An array of CopyAction
objects, which contains the details of the copy operation.
lifecycle: Option<Lifecycle>
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup will transition and expire backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
rule_name: String
An optional display name for a backup rule.
schedule_expression: Option<String>
A CRON expression specifying when AWS Backup initiates a backup job.
start_window_minutes: Option<i64>
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional.
target_backup_vault_name: String
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
Trait Implementations
impl Clone for BackupRuleInput
[src]
pub fn clone(&self) -> BackupRuleInput
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BackupRuleInput
[src]
impl Default for BackupRuleInput
[src]
pub fn default() -> BackupRuleInput
[src]
impl PartialEq<BackupRuleInput> for BackupRuleInput
[src]
pub fn eq(&self, other: &BackupRuleInput) -> bool
[src]
pub fn ne(&self, other: &BackupRuleInput) -> bool
[src]
impl Serialize for BackupRuleInput
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for BackupRuleInput
[src]
Auto Trait Implementations
impl RefUnwindSafe for BackupRuleInput
[src]
impl Send for BackupRuleInput
[src]
impl Sync for BackupRuleInput
[src]
impl Unpin for BackupRuleInput
[src]
impl UnwindSafe for BackupRuleInput
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,