Interface SearchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchRequest.Builder,,SearchRequest> DataZoneRequest.Builder,SdkBuilder<SearchRequest.Builder,,SearchRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAttributes(Collection<SearchOutputAdditionalAttribute> additionalAttributes) Specifies additional attributes for theSearchaction.additionalAttributes(SearchOutputAdditionalAttribute... additionalAttributes) Specifies additional attributes for theSearchaction.additionalAttributesWithStrings(String... additionalAttributes) Specifies additional attributes for theSearchaction.additionalAttributesWithStrings(Collection<String> additionalAttributes) Specifies additional attributes for theSearchaction.domainIdentifier(String domainIdentifier) The identifier of the Amazon DataZone domain.default SearchRequest.Builderfilters(Consumer<FilterClause.Builder> filters) Specifies the search filters.filters(FilterClause filters) Specifies the search filters.maxResults(Integer maxResults) The maximum number of results to return in a single call toSearch.When the number of results is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of results, the response includes a pagination token namedNextToken.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.owningProjectIdentifier(String owningProjectIdentifier) The identifier of the owning project specified for the search.searchIn(Collection<SearchInItem> searchIn) The details of the search.searchIn(Consumer<SearchInItem.Builder>... searchIn) The details of the search.searchIn(SearchInItem... searchIn) The details of the search.searchScope(String searchScope) The scope of the search.searchScope(InventorySearchScope searchScope) The scope of the search.searchText(String searchText) Specifies the text for which to search.default SearchRequest.Buildersort(Consumer<SearchSort.Builder> sort) Specifies the way in which the search results are to be sorted.sort(SearchSort sort) Specifies the way in which the search results are to be sorted.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
additionalAttributesWithStrings
Specifies additional attributes for the
Searchaction.- Parameters:
additionalAttributes- Specifies additional attributes for theSearchaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributesWithStrings
Specifies additional attributes for the
Searchaction.- Parameters:
additionalAttributes- Specifies additional attributes for theSearchaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
SearchRequest.Builder additionalAttributes(Collection<SearchOutputAdditionalAttribute> additionalAttributes) Specifies additional attributes for the
Searchaction.- Parameters:
additionalAttributes- Specifies additional attributes for theSearchaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
Specifies additional attributes for the
Searchaction.- Parameters:
additionalAttributes- Specifies additional attributes for theSearchaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The identifier of the Amazon DataZone domain.
- Parameters:
domainIdentifier- The identifier of the Amazon DataZone domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Specifies the search filters.
- Parameters:
filters- Specifies the search filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Specifies the search filters.
This is a convenience method that creates an instance of theFilterClause.Builderavoiding the need to create one manually viaFilterClause.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(FilterClause).- Parameters:
filters- a consumer that will call methods onFilterClause.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
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 ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toSearchto list the next set of results.- Parameters:
maxResults- The maximum number of results to return in a single call toSearch. When the number of results to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toSearchto list the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When the number of results is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of results, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toSearchto list the next set of results.- Parameters:
nextToken- When the number of results is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of results, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toSearchto list the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owningProjectIdentifier
The identifier of the owning project specified for the search.
- Parameters:
owningProjectIdentifier- The identifier of the owning project specified for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchIn
The details of the search.
- Parameters:
searchIn- The details of the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchIn
The details of the search.
- Parameters:
searchIn- The details of the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchIn
The details of the search.
This is a convenience method that creates an instance of theSearchInItem.Builderavoiding the need to create one manually viaSearchInItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchIn(List<SearchInItem>).- Parameters:
searchIn- a consumer that will call methods onSearchInItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchScope
The scope of the search.
- Parameters:
searchScope- The scope of the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchScope
The scope of the search.
- Parameters:
searchScope- The scope of the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchText
Specifies the text for which to search.
- Parameters:
searchText- Specifies the text for which to search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies the way in which the search results are to be sorted.
- Parameters:
sort- Specifies the way in which the search results are to be sorted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies the way in which the search results are to be sorted.
This is a convenience method that creates an instance of theSearchSort.Builderavoiding the need to create one manually viaSearchSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(SearchSort).- Parameters:
sort- a consumer that will call methods onSearchSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-