Struct aws_sdk_accessanalyzer::operation::list_analyzed_resources::builders::ListAnalyzedResourcesOutputBuilder
source · #[non_exhaustive]pub struct ListAnalyzedResourcesOutputBuilder { /* private fields */ }
Expand description
A builder for ListAnalyzedResourcesOutput
.
Implementations§
source§impl ListAnalyzedResourcesOutputBuilder
impl ListAnalyzedResourcesOutputBuilder
sourcepub fn analyzed_resources(self, input: AnalyzedResourceSummary) -> Self
pub fn analyzed_resources(self, input: AnalyzedResourceSummary) -> Self
Appends an item to analyzed_resources
.
To override the contents of this collection use set_analyzed_resources
.
A list of resources that were analyzed.
sourcepub fn set_analyzed_resources(
self,
input: Option<Vec<AnalyzedResourceSummary>>
) -> Self
pub fn set_analyzed_resources( self, input: Option<Vec<AnalyzedResourceSummary>> ) -> Self
A list of resources that were analyzed.
sourcepub fn get_analyzed_resources(&self) -> &Option<Vec<AnalyzedResourceSummary>>
pub fn get_analyzed_resources(&self) -> &Option<Vec<AnalyzedResourceSummary>>
A list of resources that were analyzed.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token used for pagination of results returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token used for pagination of results returned.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token used for pagination of results returned.
sourcepub fn build(self) -> Result<ListAnalyzedResourcesOutput, BuildError>
pub fn build(self) -> Result<ListAnalyzedResourcesOutput, BuildError>
Consumes the builder and constructs a ListAnalyzedResourcesOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListAnalyzedResourcesOutputBuilder
impl Clone for ListAnalyzedResourcesOutputBuilder
source§fn clone(&self) -> ListAnalyzedResourcesOutputBuilder
fn clone(&self) -> ListAnalyzedResourcesOutputBuilder
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 Default for ListAnalyzedResourcesOutputBuilder
impl Default for ListAnalyzedResourcesOutputBuilder
source§fn default() -> ListAnalyzedResourcesOutputBuilder
fn default() -> ListAnalyzedResourcesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListAnalyzedResourcesOutputBuilder
impl PartialEq for ListAnalyzedResourcesOutputBuilder
source§fn eq(&self, other: &ListAnalyzedResourcesOutputBuilder) -> bool
fn eq(&self, other: &ListAnalyzedResourcesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAnalyzedResourcesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListAnalyzedResourcesOutputBuilder
impl RefUnwindSafe for ListAnalyzedResourcesOutputBuilder
impl Send for ListAnalyzedResourcesOutputBuilder
impl Sync for ListAnalyzedResourcesOutputBuilder
impl Unpin for ListAnalyzedResourcesOutputBuilder
impl UnwindSafe for ListAnalyzedResourcesOutputBuilder
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.