Interface SearchListingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SearchListingsRequest.Builder,
,SearchListingsRequest> DataZoneRequest.Builder
,SdkBuilder<SearchListingsRequest.Builder,
,SearchListingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchListingsRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAttributes
(Collection<SearchOutputAdditionalAttribute> additionalAttributes) Specifies additional attributes for the search.additionalAttributes
(SearchOutputAdditionalAttribute... additionalAttributes) Specifies additional attributes for the search.additionalAttributesWithStrings
(String... additionalAttributes) Specifies additional attributes for the search.additionalAttributesWithStrings
(Collection<String> additionalAttributes) Specifies additional attributes for the search.domainIdentifier
(String domainIdentifier) The identifier of the domain in which to search listings.default SearchListingsRequest.Builder
filters
(Consumer<FilterClause.Builder> filters) Specifies the filters for the search of listings.filters
(FilterClause filters) Specifies the filters for the search of listings.maxResults
(Integer maxResults) The maximum number of results to return in a single call toSearchListings
.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.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.searchText
(String searchText) Specifies the text for which to search.default SearchListingsRequest.Builder
sort
(Consumer<SearchSort.Builder> sort) Specifies the way for sorting the search results.sort
(SearchSort sort) Specifies the way for sorting the search results.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
SearchListingsRequest.Builder additionalAttributesWithStrings(Collection<String> additionalAttributes) Specifies additional attributes for the search.
- Parameters:
additionalAttributes
- Specifies additional attributes for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributesWithStrings
Specifies additional attributes for the search.
- Parameters:
additionalAttributes
- Specifies additional attributes for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
SearchListingsRequest.Builder additionalAttributes(Collection<SearchOutputAdditionalAttribute> additionalAttributes) Specifies additional attributes for the search.
- Parameters:
additionalAttributes
- Specifies additional attributes for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
SearchListingsRequest.Builder additionalAttributes(SearchOutputAdditionalAttribute... additionalAttributes) Specifies additional attributes for the search.
- Parameters:
additionalAttributes
- Specifies additional attributes for the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The identifier of the domain in which to search listings.
- Parameters:
domainIdentifier
- The identifier of the domain in which to search listings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Specifies the filters for the search of listings.
- Parameters:
filters
- Specifies the filters for the search of listings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Specifies the filters for the search of listings.
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
SearchListings
. 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 toSearchListings
to list the next set of results.- Parameters:
maxResults
- The maximum number of results to return in a single call toSearchListings
. 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 toSearchListings
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 toSearchListings
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 toSearchListings
to list the next set of results.- 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:
-
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 for sorting the search results.
- Parameters:
sort
- Specifies the way for sorting the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies the way for sorting the search results.
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
SearchListingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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
SearchListingsRequest.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.
-