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