#[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 for SearchResourcesInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for SearchResourcesInputBuilder
Auto Trait Implementations§
impl Freeze for SearchResourcesInputBuilder
impl RefUnwindSafe for SearchResourcesInputBuilder
impl Send for SearchResourcesInputBuilder
impl Sync for SearchResourcesInputBuilder
impl Unpin for SearchResourcesInputBuilder
impl UnwindSafe for SearchResourcesInputBuilder
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