Struct aws_sdk_datazone::operation::search::builders::SearchFluentBuilder
source · pub struct SearchFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to Search
.
Searches for assets in Amazon DataZone.
Implementations§
source§impl SearchFluentBuilder
impl SearchFluentBuilder
sourcepub fn as_input(&self) -> &SearchInputBuilder
pub fn as_input(&self) -> &SearchInputBuilder
Access the Search as a reference.
sourcepub async fn send(
self
) -> Result<SearchOutput, SdkError<SearchError, HttpResponse>>
pub async fn send( self ) -> Result<SearchOutput, SdkError<SearchError, 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 async fn customize(
self
) -> Result<CustomizableOperation<SearchOutput, SearchError, Self>, SdkError<SearchError>>
pub async fn customize( self ) -> Result<CustomizableOperation<SearchOutput, SearchError, Self>, SdkError<SearchError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> SearchPaginator
pub fn into_paginator(self) -> SearchPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone domain.
sourcepub fn owning_project_identifier(self, input: impl Into<String>) -> Self
pub fn owning_project_identifier(self, input: impl Into<String>) -> Self
The identifier of the owning project specified for the search.
sourcepub fn set_owning_project_identifier(self, input: Option<String>) -> Self
pub fn set_owning_project_identifier(self, input: Option<String>) -> Self
The identifier of the owning project specified for the search.
sourcepub fn get_owning_project_identifier(&self) -> &Option<String>
pub fn get_owning_project_identifier(&self) -> &Option<String>
The identifier of the owning project specified for the search.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in a single call to Search
. When the number of results to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to Search
to list the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in a single call to Search
. When the number of results to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to Search
to list the next set of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in a single call to Search
. When the number of results to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to Search
to list the next set of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the number of results is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of results, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to Search
to list the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of results is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of results, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to Search
to list the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of results is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of results, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to Search
to list the next set of results.
sourcepub fn search_scope(self, input: InventorySearchScope) -> Self
pub fn search_scope(self, input: InventorySearchScope) -> Self
The scope of the search.
sourcepub fn set_search_scope(self, input: Option<InventorySearchScope>) -> Self
pub fn set_search_scope(self, input: Option<InventorySearchScope>) -> Self
The scope of the search.
sourcepub fn get_search_scope(&self) -> &Option<InventorySearchScope>
pub fn get_search_scope(&self) -> &Option<InventorySearchScope>
The scope of the search.
sourcepub fn search_text(self, input: impl Into<String>) -> Self
pub fn search_text(self, input: impl Into<String>) -> Self
Specifies the text for which to search.
sourcepub fn set_search_text(self, input: Option<String>) -> Self
pub fn set_search_text(self, input: Option<String>) -> Self
Specifies the text for which to search.
sourcepub fn get_search_text(&self) -> &Option<String>
pub fn get_search_text(&self) -> &Option<String>
Specifies the text for which to search.
sourcepub fn search_in(self, input: SearchInItem) -> Self
pub fn search_in(self, input: SearchInItem) -> Self
Appends an item to searchIn
.
To override the contents of this collection use set_search_in
.
sourcepub fn set_search_in(self, input: Option<Vec<SearchInItem>>) -> Self
pub fn set_search_in(self, input: Option<Vec<SearchInItem>>) -> Self
sourcepub fn get_search_in(&self) -> &Option<Vec<SearchInItem>>
pub fn get_search_in(&self) -> &Option<Vec<SearchInItem>>
sourcepub fn filters(self, input: FilterClause) -> Self
pub fn filters(self, input: FilterClause) -> Self
Specifies the search filters.
sourcepub fn set_filters(self, input: Option<FilterClause>) -> Self
pub fn set_filters(self, input: Option<FilterClause>) -> Self
Specifies the search filters.
sourcepub fn get_filters(&self) -> &Option<FilterClause>
pub fn get_filters(&self) -> &Option<FilterClause>
Specifies the search filters.
sourcepub fn sort(self, input: SearchSort) -> Self
pub fn sort(self, input: SearchSort) -> Self
Specifies the way in which the search results are to be sorted.
sourcepub fn set_sort(self, input: Option<SearchSort>) -> Self
pub fn set_sort(self, input: Option<SearchSort>) -> Self
Specifies the way in which the search results are to be sorted.
sourcepub fn get_sort(&self) -> &Option<SearchSort>
pub fn get_sort(&self) -> &Option<SearchSort>
Specifies the way in which the search results are to be sorted.
sourcepub fn additional_attributes(
self,
input: SearchOutputAdditionalAttribute
) -> Self
pub fn additional_attributes( self, input: SearchOutputAdditionalAttribute ) -> Self
Appends an item to additionalAttributes
.
To override the contents of this collection use set_additional_attributes
.
Specifies additional attributes for the Search
action.
sourcepub fn set_additional_attributes(
self,
input: Option<Vec<SearchOutputAdditionalAttribute>>
) -> Self
pub fn set_additional_attributes( self, input: Option<Vec<SearchOutputAdditionalAttribute>> ) -> Self
Specifies additional attributes for the Search
action.
sourcepub fn get_additional_attributes(
&self
) -> &Option<Vec<SearchOutputAdditionalAttribute>>
pub fn get_additional_attributes( &self ) -> &Option<Vec<SearchOutputAdditionalAttribute>>
Specifies additional attributes for the Search
action.
Trait Implementations§
source§impl Clone for SearchFluentBuilder
impl Clone for SearchFluentBuilder
source§fn clone(&self) -> SearchFluentBuilder
fn clone(&self) -> SearchFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more