Struct aws_sdk_dlm::types::builders::ArchiveRetainRuleBuilder
source · #[non_exhaustive]pub struct ArchiveRetainRuleBuilder { /* private fields */ }Expand description
A builder for ArchiveRetainRule.
Implementations§
source§impl ArchiveRetainRuleBuilder
impl ArchiveRetainRuleBuilder
sourcepub fn retention_archive_tier(self, input: RetentionArchiveTier) -> Self
pub fn retention_archive_tier(self, input: RetentionArchiveTier) -> Self
Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
This field is required.sourcepub fn set_retention_archive_tier(
self,
input: Option<RetentionArchiveTier>
) -> Self
pub fn set_retention_archive_tier( self, input: Option<RetentionArchiveTier> ) -> Self
Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
sourcepub fn get_retention_archive_tier(&self) -> &Option<RetentionArchiveTier>
pub fn get_retention_archive_tier(&self) -> &Option<RetentionArchiveTier>
Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
sourcepub fn build(self) -> ArchiveRetainRule
pub fn build(self) -> ArchiveRetainRule
Consumes the builder and constructs a ArchiveRetainRule.
Trait Implementations§
source§impl Clone for ArchiveRetainRuleBuilder
impl Clone for ArchiveRetainRuleBuilder
source§fn clone(&self) -> ArchiveRetainRuleBuilder
fn clone(&self) -> ArchiveRetainRuleBuilder
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 ArchiveRetainRuleBuilder
impl Debug for ArchiveRetainRuleBuilder
source§impl Default for ArchiveRetainRuleBuilder
impl Default for ArchiveRetainRuleBuilder
source§fn default() -> ArchiveRetainRuleBuilder
fn default() -> ArchiveRetainRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ArchiveRetainRuleBuilder
impl PartialEq for ArchiveRetainRuleBuilder
source§fn eq(&self, other: &ArchiveRetainRuleBuilder) -> bool
fn eq(&self, other: &ArchiveRetainRuleBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ArchiveRetainRuleBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ArchiveRetainRuleBuilder
impl Send for ArchiveRetainRuleBuilder
impl Sync for ArchiveRetainRuleBuilder
impl Unpin for ArchiveRetainRuleBuilder
impl UnwindSafe for ArchiveRetainRuleBuilder
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>
Creates a shared type from an unshared type.