#[non_exhaustive]pub struct SearchTablesInputBuilder { /* private fields */ }
Expand description
A builder for SearchTablesInput
.
Implementations§
source§impl SearchTablesInputBuilder
impl SearchTablesInputBuilder
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
A unique identifier, consisting of account_id
.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
A unique identifier, consisting of account_id
.
sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
A unique identifier, consisting of account_id
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, included if this is a continuation call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, included if this is a continuation call.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token, included if this is a continuation call.
sourcepub fn filters(self, input: PropertyPredicate) -> Self
pub fn filters(self, input: PropertyPredicate) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.
The Comparator
member of the PropertyPredicate
struct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as when Key=Name
, a fuzzy match algorithm is used. The Key
field (for example, the value of the Name
field) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with the Value
member of PropertyPredicate
. For example, if Key=Name
and Value=link
, tables named customer-link
and xx-link-yy
are returned, but xxlinkyy
is not returned.
sourcepub fn set_filters(self, input: Option<Vec<PropertyPredicate>>) -> Self
pub fn set_filters(self, input: Option<Vec<PropertyPredicate>>) -> Self
A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.
The Comparator
member of the PropertyPredicate
struct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as when Key=Name
, a fuzzy match algorithm is used. The Key
field (for example, the value of the Name
field) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with the Value
member of PropertyPredicate
. For example, if Key=Name
and Value=link
, tables named customer-link
and xx-link-yy
are returned, but xxlinkyy
is not returned.
sourcepub fn get_filters(&self) -> &Option<Vec<PropertyPredicate>>
pub fn get_filters(&self) -> &Option<Vec<PropertyPredicate>>
A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.
The Comparator
member of the PropertyPredicate
struct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as when Key=Name
, a fuzzy match algorithm is used. The Key
field (for example, the value of the Name
field) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with the Value
member of PropertyPredicate
. For example, if Key=Name
and Value=link
, tables named customer-link
and xx-link-yy
are returned, but xxlinkyy
is not returned.
sourcepub fn search_text(self, input: impl Into<String>) -> Self
pub fn search_text(self, input: impl Into<String>) -> Self
A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
sourcepub fn set_search_text(self, input: Option<String>) -> Self
pub fn set_search_text(self, input: Option<String>) -> Self
A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
sourcepub fn get_search_text(&self) -> &Option<String>
pub fn get_search_text(&self) -> &Option<String>
A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
sourcepub fn sort_criteria(self, input: SortCriterion) -> Self
pub fn sort_criteria(self, input: SortCriterion) -> Self
Appends an item to sort_criteria
.
To override the contents of this collection use set_sort_criteria
.
A list of criteria for sorting the results by a field name, in an ascending or descending order.
sourcepub fn set_sort_criteria(self, input: Option<Vec<SortCriterion>>) -> Self
pub fn set_sort_criteria(self, input: Option<Vec<SortCriterion>>) -> Self
A list of criteria for sorting the results by a field name, in an ascending or descending order.
sourcepub fn get_sort_criteria(&self) -> &Option<Vec<SortCriterion>>
pub fn get_sort_criteria(&self) -> &Option<Vec<SortCriterion>>
A list of criteria for sorting the results by a field name, in an ascending or descending order.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of tables to return in a single response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of tables to return in a single response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of tables to return in a single response.
Allows you to specify that you want to search the tables shared with your account. The allowable values are FOREIGN
or ALL
.
-
If set to
FOREIGN
, will search the tables shared with your account. -
If set to
ALL
, will search the tables shared with your account, as well as the tables in yor local account.
Allows you to specify that you want to search the tables shared with your account. The allowable values are FOREIGN
or ALL
.
-
If set to
FOREIGN
, will search the tables shared with your account. -
If set to
ALL
, will search the tables shared with your account, as well as the tables in yor local account.
Allows you to specify that you want to search the tables shared with your account. The allowable values are FOREIGN
or ALL
.
-
If set to
FOREIGN
, will search the tables shared with your account. -
If set to
ALL
, will search the tables shared with your account, as well as the tables in yor local account.
sourcepub fn build(self) -> Result<SearchTablesInput, BuildError>
pub fn build(self) -> Result<SearchTablesInput, BuildError>
Consumes the builder and constructs a SearchTablesInput
.
source§impl SearchTablesInputBuilder
impl SearchTablesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SearchTablesOutput, SdkError<SearchTablesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SearchTablesOutput, SdkError<SearchTablesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchTablesInputBuilder
impl Clone for SearchTablesInputBuilder
source§fn clone(&self) -> SearchTablesInputBuilder
fn clone(&self) -> SearchTablesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchTablesInputBuilder
impl Debug for SearchTablesInputBuilder
source§impl Default for SearchTablesInputBuilder
impl Default for SearchTablesInputBuilder
source§fn default() -> SearchTablesInputBuilder
fn default() -> SearchTablesInputBuilder
source§impl PartialEq for SearchTablesInputBuilder
impl PartialEq for SearchTablesInputBuilder
source§fn eq(&self, other: &SearchTablesInputBuilder) -> bool
fn eq(&self, other: &SearchTablesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchTablesInputBuilder
Auto Trait Implementations§
impl Freeze for SearchTablesInputBuilder
impl RefUnwindSafe for SearchTablesInputBuilder
impl Send for SearchTablesInputBuilder
impl Sync for SearchTablesInputBuilder
impl Unpin for SearchTablesInputBuilder
impl UnwindSafe for SearchTablesInputBuilder
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