Struct aws_sdk_cloudformation::operation::list_resource_scan_related_resources::builders::ListResourceScanRelatedResourcesInputBuilder
source · #[non_exhaustive]pub struct ListResourceScanRelatedResourcesInputBuilder { /* private fields */ }
Expand description
A builder for ListResourceScanRelatedResourcesInput
.
Implementations§
source§impl ListResourceScanRelatedResourcesInputBuilder
impl ListResourceScanRelatedResourcesInputBuilder
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 resources(self, input: ScannedResourceIdentifier) -> Self
pub fn resources(self, input: ScannedResourceIdentifier) -> Self
Appends an item to resources
.
To override the contents of this collection use set_resources
.
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
sourcepub fn set_resources(
self,
input: Option<Vec<ScannedResourceIdentifier>>
) -> Self
pub fn set_resources( self, input: Option<Vec<ScannedResourceIdentifier>> ) -> Self
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
sourcepub fn get_resources(&self) -> &Option<Vec<ScannedResourceIdentifier>>
pub fn get_resources(&self) -> &Option<Vec<ScannedResourceIdentifier>>
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
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 ListResourceScanRelatedResources
API action will return up to 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 ListResourceScanRelatedResources
API action will return up to 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 ListResourceScanRelatedResources
API action will return up to 100 results in each response. The maximum value is 100.
sourcepub fn build(self) -> Result<ListResourceScanRelatedResourcesInput, BuildError>
pub fn build(self) -> Result<ListResourceScanRelatedResourcesInput, BuildError>
Consumes the builder and constructs a ListResourceScanRelatedResourcesInput
.
source§impl ListResourceScanRelatedResourcesInputBuilder
impl ListResourceScanRelatedResourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListResourceScanRelatedResourcesOutput, SdkError<ListResourceScanRelatedResourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListResourceScanRelatedResourcesOutput, SdkError<ListResourceScanRelatedResourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListResourceScanRelatedResourcesInputBuilder
impl Clone for ListResourceScanRelatedResourcesInputBuilder
source§fn clone(&self) -> ListResourceScanRelatedResourcesInputBuilder
fn clone(&self) -> ListResourceScanRelatedResourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListResourceScanRelatedResourcesInputBuilder
impl Default for ListResourceScanRelatedResourcesInputBuilder
source§fn default() -> ListResourceScanRelatedResourcesInputBuilder
fn default() -> ListResourceScanRelatedResourcesInputBuilder
source§impl PartialEq for ListResourceScanRelatedResourcesInputBuilder
impl PartialEq for ListResourceScanRelatedResourcesInputBuilder
source§fn eq(&self, other: &ListResourceScanRelatedResourcesInputBuilder) -> bool
fn eq(&self, other: &ListResourceScanRelatedResourcesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourceScanRelatedResourcesInputBuilder
Auto Trait Implementations§
impl Freeze for ListResourceScanRelatedResourcesInputBuilder
impl RefUnwindSafe for ListResourceScanRelatedResourcesInputBuilder
impl Send for ListResourceScanRelatedResourcesInputBuilder
impl Sync for ListResourceScanRelatedResourcesInputBuilder
impl Unpin for ListResourceScanRelatedResourcesInputBuilder
impl UnwindSafe for ListResourceScanRelatedResourcesInputBuilder
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