Struct aws_sdk_accessanalyzer::operation::get_archive_rule::builders::GetArchiveRuleOutputBuilder
source · #[non_exhaustive]pub struct GetArchiveRuleOutputBuilder { /* private fields */ }Expand description
A builder for GetArchiveRuleOutput.
Implementations§
source§impl GetArchiveRuleOutputBuilder
impl GetArchiveRuleOutputBuilder
sourcepub fn archive_rule(self, input: ArchiveRuleSummary) -> Self
pub fn archive_rule(self, input: ArchiveRuleSummary) -> Self
Contains information about an archive rule.
This field is required.sourcepub fn set_archive_rule(self, input: Option<ArchiveRuleSummary>) -> Self
pub fn set_archive_rule(self, input: Option<ArchiveRuleSummary>) -> Self
Contains information about an archive rule.
sourcepub fn get_archive_rule(&self) -> &Option<ArchiveRuleSummary>
pub fn get_archive_rule(&self) -> &Option<ArchiveRuleSummary>
Contains information about an archive rule.
sourcepub fn build(self) -> GetArchiveRuleOutput
pub fn build(self) -> GetArchiveRuleOutput
Consumes the builder and constructs a GetArchiveRuleOutput.
Trait Implementations§
source§impl Clone for GetArchiveRuleOutputBuilder
impl Clone for GetArchiveRuleOutputBuilder
source§fn clone(&self) -> GetArchiveRuleOutputBuilder
fn clone(&self) -> GetArchiveRuleOutputBuilder
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 GetArchiveRuleOutputBuilder
impl Debug for GetArchiveRuleOutputBuilder
source§impl Default for GetArchiveRuleOutputBuilder
impl Default for GetArchiveRuleOutputBuilder
source§fn default() -> GetArchiveRuleOutputBuilder
fn default() -> GetArchiveRuleOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetArchiveRuleOutputBuilder
impl PartialEq for GetArchiveRuleOutputBuilder
source§fn eq(&self, other: &GetArchiveRuleOutputBuilder) -> bool
fn eq(&self, other: &GetArchiveRuleOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetArchiveRuleOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetArchiveRuleOutputBuilder
impl Send for GetArchiveRuleOutputBuilder
impl Sync for GetArchiveRuleOutputBuilder
impl Unpin for GetArchiveRuleOutputBuilder
impl UnwindSafe for GetArchiveRuleOutputBuilder
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.