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 theSearch
action.additionalAttributes
(SearchOutputAdditionalAttribute... additionalAttributes) Specifies additional attributes for theSearch
action.additionalAttributesWithStrings
(String... additionalAttributes) Specifies additional attributes for theSearch
action.additionalAttributesWithStrings
(Collection<String> additionalAttributes) Specifies additional attributes for theSearch
action.domainIdentifier
(String domainIdentifier) The identifier of the Amazon DataZone domain.default SearchRequest.Builder
filters
(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 theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that 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.Builder
sort
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
additionalAttributesWithStrings
Specifies additional attributes for the
Search
action.- Parameters:
additionalAttributes
- Specifies additional attributes for theSearch
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributesWithStrings
Specifies additional attributes for the
Search
action.- Parameters:
additionalAttributes
- Specifies additional attributes for theSearch
action.- 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
Search
action.- Parameters:
additionalAttributes
- Specifies additional attributes for theSearch
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
Specifies additional attributes for the
Search
action.- Parameters:
additionalAttributes
- Specifies additional attributes for theSearch
action.- 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.Builder
avoiding the need to create one manually viaFilterClause.builder()
.When the
Consumer
completes,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 aNextToken
value that you can use in a subsequent call toSearch
to 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 aNextToken
value that you can use in a subsequent call toSearch
to 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
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of results, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toSearch
to list the next set of results.- Parameters:
nextToken
- When the number of results is greater than the default value for theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of results, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toSearch
to 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.Builder
avoiding the need to create one manually viaSearchInItem.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaSearchSort.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-