Struct aws_sdk_dlm::types::FastRestoreRule
source · #[non_exhaustive]pub struct FastRestoreRule { /* private fields */ }Expand description
[Snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by snapshot policies. You can enable fast snapshot restore based on either a count or a time interval.
Implementations§
source§impl FastRestoreRule
impl FastRestoreRule
sourcepub fn interval(&self) -> i32
pub fn interval(&self) -> i32
The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
sourcepub fn interval_unit(&self) -> Option<&RetentionIntervalUnitValues>
pub fn interval_unit(&self) -> Option<&RetentionIntervalUnitValues>
The unit of time for enabling fast snapshot restore.
sourcepub fn availability_zones(&self) -> Option<&[String]>
pub fn availability_zones(&self) -> Option<&[String]>
The Availability Zones in which to enable fast snapshot restore.
source§impl FastRestoreRule
impl FastRestoreRule
sourcepub fn builder() -> FastRestoreRuleBuilder
pub fn builder() -> FastRestoreRuleBuilder
Creates a new builder-style object to manufacture FastRestoreRule.
Trait Implementations§
source§impl Clone for FastRestoreRule
impl Clone for FastRestoreRule
source§fn clone(&self) -> FastRestoreRule
fn clone(&self) -> FastRestoreRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FastRestoreRule
impl Debug for FastRestoreRule
source§impl PartialEq<FastRestoreRule> for FastRestoreRule
impl PartialEq<FastRestoreRule> for FastRestoreRule
source§fn eq(&self, other: &FastRestoreRule) -> bool
fn eq(&self, other: &FastRestoreRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.