Struct aws_sdk_fms::operation::list_discovered_resources::builders::ListDiscoveredResourcesInputBuilder
source · #[non_exhaustive]pub struct ListDiscoveredResourcesInputBuilder { /* private fields */ }
Expand description
A builder for ListDiscoveredResourcesInput
.
Implementations§
source§impl ListDiscoveredResourcesInputBuilder
impl ListDiscoveredResourcesInputBuilder
sourcepub fn member_account_ids(self, input: impl Into<String>) -> Self
pub fn member_account_ids(self, input: impl Into<String>) -> Self
Appends an item to member_account_ids
.
To override the contents of this collection use set_member_account_ids
.
The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.
sourcepub fn set_member_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_member_account_ids(self, input: Option<Vec<String>>) -> Self
The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.
sourcepub fn get_member_account_ids(&self) -> &Option<Vec<String>>
pub fn get_member_account_ids(&self) -> &Option<Vec<String>>
The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of resources to discover.
This field is required.sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of resources to discover.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The type of resources to discover.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken
value that you can use in a subsequent call to get the next batch of objects.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken
value that you can use in a subsequent call to get the next batch of objects.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken
value that you can use in a subsequent call to get the next batch of objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
sourcepub fn build(self) -> Result<ListDiscoveredResourcesInput, BuildError>
pub fn build(self) -> Result<ListDiscoveredResourcesInput, BuildError>
Consumes the builder and constructs a ListDiscoveredResourcesInput
.
source§impl ListDiscoveredResourcesInputBuilder
impl ListDiscoveredResourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListDiscoveredResourcesOutput, SdkError<ListDiscoveredResourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListDiscoveredResourcesOutput, SdkError<ListDiscoveredResourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListDiscoveredResourcesInputBuilder
impl Clone for ListDiscoveredResourcesInputBuilder
source§fn clone(&self) -> ListDiscoveredResourcesInputBuilder
fn clone(&self) -> ListDiscoveredResourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListDiscoveredResourcesInputBuilder
impl Default for ListDiscoveredResourcesInputBuilder
source§fn default() -> ListDiscoveredResourcesInputBuilder
fn default() -> ListDiscoveredResourcesInputBuilder
source§impl PartialEq for ListDiscoveredResourcesInputBuilder
impl PartialEq for ListDiscoveredResourcesInputBuilder
source§fn eq(&self, other: &ListDiscoveredResourcesInputBuilder) -> bool
fn eq(&self, other: &ListDiscoveredResourcesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDiscoveredResourcesInputBuilder
Auto Trait Implementations§
impl Freeze for ListDiscoveredResourcesInputBuilder
impl RefUnwindSafe for ListDiscoveredResourcesInputBuilder
impl Send for ListDiscoveredResourcesInputBuilder
impl Sync for ListDiscoveredResourcesInputBuilder
impl Unpin for ListDiscoveredResourcesInputBuilder
impl UnwindSafe for ListDiscoveredResourcesInputBuilder
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