Struct aws_sdk_cloudformation::operation::list_resource_scan_resources::builders::ListResourceScanResourcesOutputBuilder
source · #[non_exhaustive]pub struct ListResourceScanResourcesOutputBuilder { /* private fields */ }
Expand description
A builder for ListResourceScanResourcesOutput
.
Implementations§
source§impl ListResourceScanResourcesOutputBuilder
impl ListResourceScanResourcesOutputBuilder
sourcepub fn resources(self, input: ScannedResource) -> Self
pub fn resources(self, input: ScannedResource) -> Self
Appends an item to resources
.
To override the contents of this collection use set_resources
.
List of up to MaxResults
resources in the specified resource scan that match all of the specified filters.
sourcepub fn set_resources(self, input: Option<Vec<ScannedResource>>) -> Self
pub fn set_resources(self, input: Option<Vec<ScannedResource>>) -> Self
List of up to MaxResults
resources in the specified resource scan that match all of the specified filters.
sourcepub fn get_resources(&self) -> &Option<Vec<ScannedResource>>
pub fn get_resources(&self) -> &Option<Vec<ScannedResource>>
List of up to MaxResults
resources in the specified resource scan that match all of the specified filters.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResourceScanResources
again and use that value for the NextToken
parameter. If the request returns all results, NextToken
is set to an empty string.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResourceScanResources
again and use that value for the NextToken
parameter. If the request returns all results, NextToken
is set to an empty string.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResourceScanResources
again and use that value for the NextToken
parameter. If the request returns all results, NextToken
is set to an empty string.
sourcepub fn build(self) -> ListResourceScanResourcesOutput
pub fn build(self) -> ListResourceScanResourcesOutput
Consumes the builder and constructs a ListResourceScanResourcesOutput
.
Trait Implementations§
source§impl Clone for ListResourceScanResourcesOutputBuilder
impl Clone for ListResourceScanResourcesOutputBuilder
source§fn clone(&self) -> ListResourceScanResourcesOutputBuilder
fn clone(&self) -> ListResourceScanResourcesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListResourceScanResourcesOutputBuilder
impl Default for ListResourceScanResourcesOutputBuilder
source§fn default() -> ListResourceScanResourcesOutputBuilder
fn default() -> ListResourceScanResourcesOutputBuilder
source§impl PartialEq for ListResourceScanResourcesOutputBuilder
impl PartialEq for ListResourceScanResourcesOutputBuilder
source§fn eq(&self, other: &ListResourceScanResourcesOutputBuilder) -> bool
fn eq(&self, other: &ListResourceScanResourcesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.