Interface SearchFacetsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchFacetsRequest.Builder,,SearchFacetsRequest> MarketplaceDiscoveryRequest.Builder,SdkBuilder<SearchFacetsRequest.Builder,,SearchFacetsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchFacetsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfacetTypes(Collection<SearchFacetType> facetTypes) A list of specific facet types to retrieve.facetTypes(SearchFacetType... facetTypes) A list of specific facet types to retrieve.facetTypesWithStrings(String... facetTypes) A list of specific facet types to retrieve.facetTypesWithStrings(Collection<String> facetTypes) A list of specific facet types to retrieve.filters(Collection<SearchFilter> filters) Filters to apply before retrieving facets.filters(Consumer<SearchFilter.Builder>... filters) Filters to apply before retrieving facets.filters(SearchFilter... filters) Filters to apply before retrieving facets.A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content.IfnextTokenis returned, there are more results available.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.searchText(String searchText) The search query text to filter listings before retrieving facets.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.marketplacediscovery.model.MarketplaceDiscoveryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
locale
A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. See
Localefor supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.- Parameters:
locale- A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. SeeLocalefor supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchText
The search query text to filter listings before retrieving facets.
- Parameters:
searchText- The search query text to filter listings before retrieving facets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to apply before retrieving facets. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
- Parameters:
filters- Filters to apply before retrieving facets. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to apply before retrieving facets. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
- Parameters:
filters- Filters to apply before retrieving facets. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters to apply before retrieving facets. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
This is a convenience method that creates an instance of theSearchFilter.Builderavoiding the need to create one manually viaSearchFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SearchFilter>).- Parameters:
filters- a consumer that will call methods onSearchFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
facetTypesWithStrings
A list of specific facet types to retrieve. If empty or null, all available facets are returned.
- Parameters:
facetTypes- A list of specific facet types to retrieve. If empty or null, all available facets are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
facetTypesWithStrings
A list of specific facet types to retrieve. If empty or null, all available facets are returned.
- Parameters:
facetTypes- A list of specific facet types to retrieve. If empty or null, all available facets are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
facetTypes
A list of specific facet types to retrieve. If empty or null, all available facets are returned.
- Parameters:
facetTypes- A list of specific facet types to retrieve. If empty or null, all available facets are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
facetTypes
A list of specific facet types to retrieve. If empty or null, all available facets are returned.
- Parameters:
facetTypes- A list of specific facet types to retrieve. If empty or null, all available facets are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If
nextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- IfnextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchFacetsRequest.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
SearchFacetsRequest.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.
-