Interface SearchTablesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchTablesRequest.Builder,SearchTablesRequest>,GlueRequest.Builder,SdkBuilder<SearchTablesRequest.Builder,SearchTablesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchTablesRequest
public static interface SearchTablesRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<SearchTablesRequest.Builder,SearchTablesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchTablesRequest.BuildercatalogId(String catalogId)A unique identifier, consisting ofaccount_id.SearchTablesRequest.Builderfilters(Collection<PropertyPredicate> filters)A list of key-value pairs, and a comparator used to filter the search results.SearchTablesRequest.Builderfilters(Consumer<PropertyPredicate.Builder>... filters)A list of key-value pairs, and a comparator used to filter the search results.SearchTablesRequest.Builderfilters(PropertyPredicate... filters)A list of key-value pairs, and a comparator used to filter the search results.SearchTablesRequest.BuilderincludeStatusDetails(Boolean includeStatusDetails)Specifies whether to include status details related to a request to create or update an Glue Data Catalog view.SearchTablesRequest.BuildermaxResults(Integer maxResults)The maximum number of tables to return in a single response.SearchTablesRequest.BuildernextToken(String nextToken)A continuation token, included if this is a continuation call.SearchTablesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchTablesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SearchTablesRequest.BuilderresourceShareType(String resourceShareType)Allows you to specify that you want to search the tables shared with your account.SearchTablesRequest.BuilderresourceShareType(ResourceShareType resourceShareType)Allows you to specify that you want to search the tables shared with your account.SearchTablesRequest.BuildersearchText(String searchText)A string used for a text search.SearchTablesRequest.BuildersortCriteria(Collection<SortCriterion> sortCriteria)A list of criteria for sorting the results by a field name, in an ascending or descending order.SearchTablesRequest.BuildersortCriteria(Consumer<SortCriterion.Builder>... sortCriteria)A list of criteria for sorting the results by a field name, in an ascending or descending order.SearchTablesRequest.BuildersortCriteria(SortCriterion... sortCriteria)A list of criteria for sorting the results by a field name, in an ascending or descending order.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
catalogId
SearchTablesRequest.Builder catalogId(String catalogId)
A unique identifier, consisting of
account_id.- Parameters:
catalogId- A unique identifier, consisting ofaccount_id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
SearchTablesRequest.Builder nextToken(String nextToken)
A continuation token, included if this is a continuation call.
- Parameters:
nextToken- A continuation token, included if this is a continuation call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchTablesRequest.Builder filters(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
Comparatormember of thePropertyPredicatestruct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as whenKey=Name, a fuzzy match algorithm is used. TheKeyfield (for example, the value of theNamefield) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with theValuemember ofPropertyPredicate. For example, ifKey=NameandValue=link, tables namedcustomer-linkandxx-link-yyare returned, butxxlinkyyis not returned.- Parameters:
filters- A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.The
Comparatormember of thePropertyPredicatestruct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as whenKey=Name, a fuzzy match algorithm is used. TheKeyfield (for example, the value of theNamefield) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with theValuemember ofPropertyPredicate. For example, ifKey=NameandValue=link, tables namedcustomer-linkandxx-link-yyare returned, butxxlinkyyis not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchTablesRequest.Builder filters(PropertyPredicate... filters)
A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.
The
Comparatormember of thePropertyPredicatestruct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as whenKey=Name, a fuzzy match algorithm is used. TheKeyfield (for example, the value of theNamefield) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with theValuemember ofPropertyPredicate. For example, ifKey=NameandValue=link, tables namedcustomer-linkandxx-link-yyare returned, butxxlinkyyis not returned.- Parameters:
filters- A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.The
Comparatormember of thePropertyPredicatestruct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as whenKey=Name, a fuzzy match algorithm is used. TheKeyfield (for example, the value of theNamefield) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with theValuemember ofPropertyPredicate. For example, ifKey=NameandValue=link, tables namedcustomer-linkandxx-link-yyare returned, butxxlinkyyis not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchTablesRequest.Builder filters(Consumer<PropertyPredicate.Builder>... filters)
A list of key-value pairs, and a comparator used to filter the search results. Returns all entities matching the predicate.
The
This is a convenience method that creates an instance of theComparatormember of thePropertyPredicatestruct is used only for time fields, and can be omitted for other field types. Also, when comparing string values, such as whenKey=Name, a fuzzy match algorithm is used. TheKeyfield (for example, the value of theNamefield) is split on certain punctuation characters, for example, -, :, #, etc. into tokens. Then each token is exact-match compared with theValuemember ofPropertyPredicate. For example, ifKey=NameandValue=link, tables namedcustomer-linkandxx-link-yyare returned, butxxlinkyyis not returned.PropertyPredicate.Builderavoiding the need to create one manually viaPropertyPredicate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onPropertyPredicate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
searchText
SearchTablesRequest.Builder searchText(String searchText)
A string used for a text search.
Specifying a value in quotes filters based on an exact match to the value.
- Parameters:
searchText- A string used for a text search.Specifying a value in quotes filters based on an exact match to the value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
SearchTablesRequest.Builder sortCriteria(Collection<SortCriterion> sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
- Parameters:
sortCriteria- A list of criteria for sorting the results by a field name, in an ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
SearchTablesRequest.Builder sortCriteria(SortCriterion... sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
- Parameters:
sortCriteria- A list of criteria for sorting the results by a field name, in an ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
SearchTablesRequest.Builder sortCriteria(Consumer<SortCriterion.Builder>... sortCriteria)
A list of criteria for sorting the results by a field name, in an ascending or descending order.
This is a convenience method that creates an instance of theSortCriterion.Builderavoiding the need to create one manually viaSortCriterion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sortCriteria(List.) - Parameters:
sortCriteria- a consumer that will call methods onSortCriterion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sortCriteria(java.util.Collection)
-
maxResults
SearchTablesRequest.Builder maxResults(Integer maxResults)
The maximum number of tables to return in a single response.
- Parameters:
maxResults- The maximum number of tables to return in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareType
SearchTablesRequest.Builder resourceShareType(String resourceShareType)
Allows you to specify that you want to search the tables shared with your account. The allowable values are
FOREIGNorALL.-
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.
- Parameters:
resourceShareType- Allows you to specify that you want to search the tables shared with your account. The allowable values areFOREIGNorALL.-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceShareType,ResourceShareType
-
-
resourceShareType
SearchTablesRequest.Builder resourceShareType(ResourceShareType resourceShareType)
Allows you to specify that you want to search the tables shared with your account. The allowable values are
FOREIGNorALL.-
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.
- Parameters:
resourceShareType- Allows you to specify that you want to search the tables shared with your account. The allowable values areFOREIGNorALL.-
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceShareType,ResourceShareType
-
-
includeStatusDetails
SearchTablesRequest.Builder includeStatusDetails(Boolean includeStatusDetails)
Specifies whether to include status details related to a request to create or update an Glue Data Catalog view.
- Parameters:
includeStatusDetails- Specifies whether to include status details related to a request to create or update an Glue Data Catalog view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchTablesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchTablesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-