Struct aws_sdk_dlm::types::builders::ArchiveRuleBuilder
source · #[non_exhaustive]pub struct ArchiveRuleBuilder { /* private fields */ }
Expand description
A builder for ArchiveRule
.
Implementations§
source§impl ArchiveRuleBuilder
impl ArchiveRuleBuilder
sourcepub fn retain_rule(self, input: ArchiveRetainRule) -> Self
pub fn retain_rule(self, input: ArchiveRetainRule) -> Self
Information about the retention period for the snapshot archiving rule.
This field is required.sourcepub fn set_retain_rule(self, input: Option<ArchiveRetainRule>) -> Self
pub fn set_retain_rule(self, input: Option<ArchiveRetainRule>) -> Self
Information about the retention period for the snapshot archiving rule.
sourcepub fn get_retain_rule(&self) -> &Option<ArchiveRetainRule>
pub fn get_retain_rule(&self) -> &Option<ArchiveRetainRule>
Information about the retention period for the snapshot archiving rule.
sourcepub fn build(self) -> ArchiveRule
pub fn build(self) -> ArchiveRule
Consumes the builder and constructs a ArchiveRule
.
Trait Implementations§
source§impl Clone for ArchiveRuleBuilder
impl Clone for ArchiveRuleBuilder
source§fn clone(&self) -> ArchiveRuleBuilder
fn clone(&self) -> ArchiveRuleBuilder
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 ArchiveRuleBuilder
impl Debug for ArchiveRuleBuilder
source§impl Default for ArchiveRuleBuilder
impl Default for ArchiveRuleBuilder
source§fn default() -> ArchiveRuleBuilder
fn default() -> ArchiveRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ArchiveRuleBuilder
impl PartialEq for ArchiveRuleBuilder
source§fn eq(&self, other: &ArchiveRuleBuilder) -> bool
fn eq(&self, other: &ArchiveRuleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArchiveRuleBuilder
Auto Trait Implementations§
impl Freeze for ArchiveRuleBuilder
impl RefUnwindSafe for ArchiveRuleBuilder
impl Send for ArchiveRuleBuilder
impl Sync for ArchiveRuleBuilder
impl Unpin for ArchiveRuleBuilder
impl UnwindSafe for ArchiveRuleBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.