#[non_exhaustive]pub struct SearchResourcesInputBuilder { /* private fields */ }
Expand description
A builder for SearchResourcesInput
.
Implementations§
source§impl SearchResourcesInputBuilder
impl SearchResourcesInputBuilder
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.
sourcepub fn build(self) -> Result<SearchResourcesInput, BuildError>
pub fn build(self) -> Result<SearchResourcesInput, BuildError>
Consumes the builder and constructs a SearchResourcesInput
.
source§impl SearchResourcesInputBuilder
impl SearchResourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SearchResourcesOutput, SdkError<SearchResourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SearchResourcesOutput, SdkError<SearchResourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchResourcesInputBuilder
impl Clone for SearchResourcesInputBuilder
source§fn clone(&self) -> SearchResourcesInputBuilder
fn clone(&self) -> SearchResourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchResourcesInputBuilder
impl Debug for SearchResourcesInputBuilder
source§impl Default for SearchResourcesInputBuilder
impl Default for SearchResourcesInputBuilder
source§fn default() -> SearchResourcesInputBuilder
fn default() -> SearchResourcesInputBuilder
source§impl PartialEq<SearchResourcesInputBuilder> for SearchResourcesInputBuilder
impl PartialEq<SearchResourcesInputBuilder> for SearchResourcesInputBuilder
source§fn eq(&self, other: &SearchResourcesInputBuilder) -> bool
fn eq(&self, other: &SearchResourcesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.