Struct aws_sdk_cloudformation::operation::list_resource_scan_resources::builders::ListResourceScanResourcesInputBuilder
source · #[non_exhaustive]pub struct ListResourceScanResourcesInputBuilder { /* private fields */ }
Expand description
A builder for ListResourceScanResourcesInput
.
Implementations§
source§impl ListResourceScanResourcesInputBuilder
impl ListResourceScanResourcesInputBuilder
sourcepub fn resource_scan_id(self, input: impl Into<String>) -> Self
pub fn resource_scan_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource scan.
This field is required.sourcepub fn set_resource_scan_id(self, input: Option<String>) -> Self
pub fn set_resource_scan_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource scan.
sourcepub fn get_resource_scan_id(&self) -> &Option<String>
pub fn get_resource_scan_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource scan.
sourcepub fn resource_identifier(self, input: impl Into<String>) -> Self
pub fn resource_identifier(self, input: impl Into<String>) -> Self
If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).
sourcepub fn set_resource_identifier(self, input: Option<String>) -> Self
pub fn set_resource_identifier(self, input: Option<String>) -> Self
If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).
sourcepub fn get_resource_identifier(&self) -> &Option<String>
pub fn get_resource_identifier(&self) -> &Option<String>
If specified, the returned resources will have the specified resource identifier (or one of them in the case where the resource has multiple identifiers).
sourcepub fn resource_type_prefix(self, input: impl Into<String>) -> Self
pub fn resource_type_prefix(self, input: impl Into<String>) -> Self
If specified, the returned resources will be of any of the resource types with the specified prefix.
sourcepub fn set_resource_type_prefix(self, input: Option<String>) -> Self
pub fn set_resource_type_prefix(self, input: Option<String>) -> Self
If specified, the returned resources will be of any of the resource types with the specified prefix.
sourcepub fn get_resource_type_prefix(&self) -> &Option<String>
pub fn get_resource_type_prefix(&self) -> &Option<String>
If specified, the returned resources will be of any of the resource types with the specified prefix.
sourcepub fn tag_key(self, input: impl Into<String>) -> Self
pub fn tag_key(self, input: impl Into<String>) -> Self
If specified, the returned resources will have a matching tag key.
sourcepub fn set_tag_key(self, input: Option<String>) -> Self
pub fn set_tag_key(self, input: Option<String>) -> Self
If specified, the returned resources will have a matching tag key.
sourcepub fn get_tag_key(&self) -> &Option<String>
pub fn get_tag_key(&self) -> &Option<String>
If specified, the returned resources will have a matching tag key.
sourcepub fn tag_value(self, input: impl Into<String>) -> Self
pub fn tag_value(self, input: impl Into<String>) -> Self
If specified, the returned resources will have a matching tag value.
sourcepub fn set_tag_value(self, input: Option<String>) -> Self
pub fn set_tag_value(self, input: Option<String>) -> Self
If specified, the returned resources will have a matching tag value.
sourcepub fn get_tag_value(&self) -> &Option<String>
pub fn get_tag_value(&self) -> &Option<String>
If specified, the returned resources will have a matching tag value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A string that identifies the next page of resource scan results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string that identifies the next page of resource scan results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A string that identifies the next page of resource scan results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListResourceScanResources
API action will return at most 100 results in each response. The maximum value is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListResourceScanResources
API action will return at most 100 results in each response. The maximum value is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default the ListResourceScanResources
API action will return at most 100 results in each response. The maximum value is 100.
sourcepub fn build(self) -> Result<ListResourceScanResourcesInput, BuildError>
pub fn build(self) -> Result<ListResourceScanResourcesInput, BuildError>
Consumes the builder and constructs a ListResourceScanResourcesInput
.
source§impl ListResourceScanResourcesInputBuilder
impl ListResourceScanResourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListResourceScanResourcesOutput, SdkError<ListResourceScanResourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListResourceScanResourcesOutput, SdkError<ListResourceScanResourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListResourceScanResourcesInputBuilder
impl Clone for ListResourceScanResourcesInputBuilder
source§fn clone(&self) -> ListResourceScanResourcesInputBuilder
fn clone(&self) -> ListResourceScanResourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListResourceScanResourcesInputBuilder
impl Default for ListResourceScanResourcesInputBuilder
source§fn default() -> ListResourceScanResourcesInputBuilder
fn default() -> ListResourceScanResourcesInputBuilder
source§impl PartialEq for ListResourceScanResourcesInputBuilder
impl PartialEq for ListResourceScanResourcesInputBuilder
source§fn eq(&self, other: &ListResourceScanResourcesInputBuilder) -> bool
fn eq(&self, other: &ListResourceScanResourcesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourceScanResourcesInputBuilder
Auto Trait Implementations§
impl Freeze for ListResourceScanResourcesInputBuilder
impl RefUnwindSafe for ListResourceScanResourcesInputBuilder
impl Send for ListResourceScanResourcesInputBuilder
impl Sync for ListResourceScanResourcesInputBuilder
impl Unpin for ListResourceScanResourcesInputBuilder
impl UnwindSafe for ListResourceScanResourcesInputBuilder
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
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>
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>
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 more