pub struct SearchResourcesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to SearchResources.
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
Implementations§
source§impl SearchResourcesFluentBuilder
impl SearchResourcesFluentBuilder
sourcepub fn as_input(&self) -> &SearchResourcesInputBuilder
pub fn as_input(&self) -> &SearchResourcesInputBuilder
Access the SearchResources as a reference.
sourcepub async fn send(
self
) -> Result<SearchResourcesOutput, SdkError<SearchResourcesError, HttpResponse>>
pub async fn send( self ) -> Result<SearchResourcesOutput, SdkError<SearchResourcesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<SearchResourcesOutput, SearchResourcesError, Self>
pub fn customize( self ) -> CustomizableOperation<SearchResourcesOutput, SearchResourcesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> SearchResourcesPaginator
pub fn into_paginator(self) -> SearchResourcesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn bucket_criteria(self, input: SearchResourcesBucketCriteria) -> Self
pub fn bucket_criteria(self, input: SearchResourcesBucketCriteria) -> Self
The filter conditions that determine which S3 buckets to include or exclude from the query results.
sourcepub fn set_bucket_criteria(
self,
input: Option<SearchResourcesBucketCriteria>
) -> Self
pub fn set_bucket_criteria( self, input: Option<SearchResourcesBucketCriteria> ) -> Self
The filter conditions that determine which S3 buckets to include or exclude from the query results.
sourcepub fn get_bucket_criteria(&self) -> &Option<SearchResourcesBucketCriteria>
pub fn get_bucket_criteria(&self) -> &Option<SearchResourcesBucketCriteria>
The filter conditions that determine which S3 buckets to include or exclude from the query results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to include in each page of the response. The default value is 50.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to include in each page of the response. The default value is 50.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to include in each page of the response. The default value is 50.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken string that specifies which page of results to return in a paginated response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken string that specifies which page of results to return in a paginated response.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken string that specifies which page of results to return in a paginated response.
sourcepub fn sort_criteria(self, input: SearchResourcesSortCriteria) -> Self
pub fn sort_criteria(self, input: SearchResourcesSortCriteria) -> Self
The criteria to use to sort the results.
sourcepub fn set_sort_criteria(
self,
input: Option<SearchResourcesSortCriteria>
) -> Self
pub fn set_sort_criteria( self, input: Option<SearchResourcesSortCriteria> ) -> Self
The criteria to use to sort the results.
sourcepub fn get_sort_criteria(&self) -> &Option<SearchResourcesSortCriteria>
pub fn get_sort_criteria(&self) -> &Option<SearchResourcesSortCriteria>
The criteria to use to sort the results.
Trait Implementations§
source§impl Clone for SearchResourcesFluentBuilder
impl Clone for SearchResourcesFluentBuilder
source§fn clone(&self) -> SearchResourcesFluentBuilder
fn clone(&self) -> SearchResourcesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more