@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchTablesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchTablesRequest() |
Modifier and Type | Method and Description |
---|---|
SearchTablesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCatalogId()
A unique identifier, consisting of
account_id . |
List<PropertyPredicate> |
getFilters()
A list of key-value pairs, and a comparator used to filter the search results.
|
Integer |
getMaxResults()
The maximum number of tables to return in a single response.
|
String |
getNextToken()
A continuation token, included if this is a continuation call.
|
String |
getResourceShareType()
Allows you to specify that you want to search the tables shared with your account.
|
String |
getSearchText()
A string used for a text search.
|
List<SortCriterion> |
getSortCriteria()
A list of criteria for sorting the results by a field name, in an ascending or descending order.
|
int |
hashCode() |
void |
setCatalogId(String catalogId)
A unique identifier, consisting of
account_id . |
void |
setFilters(Collection<PropertyPredicate> filters)
A list of key-value pairs, and a comparator used to filter the search results.
|
void |
setMaxResults(Integer maxResults)
The maximum number of tables to return in a single response.
|
void |
setNextToken(String nextToken)
A continuation token, included if this is a continuation call.
|
void |
setResourceShareType(String resourceShareType)
Allows you to specify that you want to search the tables shared with your account.
|
void |
setSearchText(String searchText)
A string used for a text search.
|
void |
setSortCriteria(Collection<SortCriterion> sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
|
String |
toString()
Returns a string representation of this object.
|
SearchTablesRequest |
withCatalogId(String catalogId)
A unique identifier, consisting of
account_id . |
SearchTablesRequest |
withFilters(Collection<PropertyPredicate> filters)
A list of key-value pairs, and a comparator used to filter the search results.
|
SearchTablesRequest |
withFilters(PropertyPredicate... filters)
A list of key-value pairs, and a comparator used to filter the search results.
|
SearchTablesRequest |
withMaxResults(Integer maxResults)
The maximum number of tables to return in a single response.
|
SearchTablesRequest |
withNextToken(String nextToken)
A continuation token, included if this is a continuation call.
|
SearchTablesRequest |
withResourceShareType(ResourceShareType resourceShareType)
Allows you to specify that you want to search the tables shared with your account.
|
SearchTablesRequest |
withResourceShareType(String resourceShareType)
Allows you to specify that you want to search the tables shared with your account.
|
SearchTablesRequest |
withSearchText(String searchText)
A string used for a text search.
|
SearchTablesRequest |
withSortCriteria(Collection<SortCriterion> sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
|
SearchTablesRequest |
withSortCriteria(SortCriterion... sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCatalogId(String catalogId)
A unique identifier, consisting of account_id
.
catalogId
- A unique identifier, consisting of account_id
.public String getCatalogId()
A unique identifier, consisting of account_id
.
account_id
.public SearchTablesRequest withCatalogId(String catalogId)
A unique identifier, consisting of account_id
.
catalogId
- A unique identifier, consisting of account_id
.public void setNextToken(String nextToken)
A continuation token, included if this is a continuation call.
nextToken
- A continuation token, included if this is a continuation call.public String getNextToken()
A continuation token, included if this is a continuation call.
public SearchTablesRequest withNextToken(String nextToken)
A continuation token, included if this is a continuation call.
nextToken
- A continuation token, included if this is a continuation call.public List<PropertyPredicate> getFilters()
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.
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.
public void setFilters(Collection<PropertyPredicate> 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.
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.
public SearchTablesRequest withFilters(PropertyPredicate... 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.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
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.
public SearchTablesRequest withFilters(Collection<PropertyPredicate> 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.
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.
public void setSearchText(String searchText)
A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
searchText
- A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
public String getSearchText()
A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
Specifying a value in quotes filters based on an exact match to the value.
public SearchTablesRequest withSearchText(String searchText)
A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
searchText
- A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
public List<SortCriterion> getSortCriteria()
A list of criteria for sorting the results by a field name, in an ascending or descending order.
public void setSortCriteria(Collection<SortCriterion> sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
sortCriteria
- A list of criteria for sorting the results by a field name, in an ascending or descending order.public SearchTablesRequest withSortCriteria(SortCriterion... sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
NOTE: This method appends the values to the existing list (if any). Use
setSortCriteria(java.util.Collection)
or withSortCriteria(java.util.Collection)
if you want to
override the existing values.
sortCriteria
- A list of criteria for sorting the results by a field name, in an ascending or descending order.public SearchTablesRequest withSortCriteria(Collection<SortCriterion> sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
sortCriteria
- A list of criteria for sorting the results by a field name, in an ascending or descending order.public void setMaxResults(Integer maxResults)
The maximum number of tables to return in a single response.
maxResults
- The maximum number of tables to return in a single response.public Integer getMaxResults()
The maximum number of tables to return in a single response.
public SearchTablesRequest withMaxResults(Integer maxResults)
The maximum number of tables to return in a single response.
maxResults
- The maximum number of tables to return in a single response.public void setResourceShareType(String resourceShareType)
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.
resourceShareType
- 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.
ResourceShareType
public String getResourceShareType()
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.
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.
ResourceShareType
public SearchTablesRequest withResourceShareType(String resourceShareType)
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.
resourceShareType
- 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.
ResourceShareType
public SearchTablesRequest withResourceShareType(ResourceShareType resourceShareType)
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.
resourceShareType
- 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.
ResourceShareType
public String toString()
toString
in class Object
Object.toString()
public SearchTablesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()