Struct aws_sdk_dlm::types::builders::FastRestoreRuleBuilder
source · #[non_exhaustive]pub struct FastRestoreRuleBuilder { /* private fields */ }
Expand description
A builder for FastRestoreRule
.
Implementations§
source§impl FastRestoreRuleBuilder
impl FastRestoreRuleBuilder
sourcepub fn count(self, input: i32) -> Self
pub fn count(self, input: i32) -> Self
The number of snapshots to be enabled with fast snapshot restore.
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of snapshots to be enabled with fast snapshot restore.
sourcepub fn get_count(&self) -> &Option<i32>
pub fn get_count(&self) -> &Option<i32>
The number of snapshots to be enabled with fast snapshot restore.
sourcepub fn interval(self, input: i32) -> Self
pub fn interval(self, input: i32) -> Self
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 set_interval(self, input: Option<i32>) -> Self
pub fn set_interval(self, input: Option<i32>) -> Self
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 get_interval(&self) -> &Option<i32>
pub fn get_interval(&self) -> &Option<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, input: RetentionIntervalUnitValues) -> Self
pub fn interval_unit(self, input: RetentionIntervalUnitValues) -> Self
The unit of time for enabling fast snapshot restore.
sourcepub fn set_interval_unit(
self,
input: Option<RetentionIntervalUnitValues>
) -> Self
pub fn set_interval_unit( self, input: Option<RetentionIntervalUnitValues> ) -> Self
The unit of time for enabling fast snapshot restore.
sourcepub fn get_interval_unit(&self) -> &Option<RetentionIntervalUnitValues>
pub fn get_interval_unit(&self) -> &Option<RetentionIntervalUnitValues>
The unit of time for enabling fast snapshot restore.
sourcepub fn availability_zones(self, input: impl Into<String>) -> Self
pub fn availability_zones(self, input: impl Into<String>) -> Self
Appends an item to availability_zones
.
To override the contents of this collection use set_availability_zones
.
The Availability Zones in which to enable fast snapshot restore.
sourcepub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
pub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
The Availability Zones in which to enable fast snapshot restore.
sourcepub fn get_availability_zones(&self) -> &Option<Vec<String>>
pub fn get_availability_zones(&self) -> &Option<Vec<String>>
The Availability Zones in which to enable fast snapshot restore.
sourcepub fn build(self) -> FastRestoreRule
pub fn build(self) -> FastRestoreRule
Consumes the builder and constructs a FastRestoreRule
.
Trait Implementations§
source§impl Clone for FastRestoreRuleBuilder
impl Clone for FastRestoreRuleBuilder
source§fn clone(&self) -> FastRestoreRuleBuilder
fn clone(&self) -> FastRestoreRuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FastRestoreRuleBuilder
impl Debug for FastRestoreRuleBuilder
source§impl Default for FastRestoreRuleBuilder
impl Default for FastRestoreRuleBuilder
source§fn default() -> FastRestoreRuleBuilder
fn default() -> FastRestoreRuleBuilder
source§impl PartialEq for FastRestoreRuleBuilder
impl PartialEq for FastRestoreRuleBuilder
source§fn eq(&self, other: &FastRestoreRuleBuilder) -> bool
fn eq(&self, other: &FastRestoreRuleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FastRestoreRuleBuilder
Auto Trait Implementations§
impl Freeze for FastRestoreRuleBuilder
impl RefUnwindSafe for FastRestoreRuleBuilder
impl Send for FastRestoreRuleBuilder
impl Sync for FastRestoreRuleBuilder
impl Unpin for FastRestoreRuleBuilder
impl UnwindSafe for FastRestoreRuleBuilder
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