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.Builderfilters(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 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.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.Buildersort(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
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
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.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
SearchListings. 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 toSearchListingsto 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 aNextTokenvalue that you can use in a subsequent call toSearchListingsto 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 toSearchListingsto 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 toSearchListingsto 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.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:
-
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.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
SearchListingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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
SearchListingsRequest.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.
-