Class SearchIndexingConfigurationBuilder
- All Implemented Interfaces:
Builder<SearchIndexingConfiguration>
Example to create an instance using the builder pattern
SearchIndexingConfiguration searchIndexingConfiguration = SearchIndexingConfiguration.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds SearchIndexingConfiguration with checking for non-null required valuesbuilds SearchIndexingConfiguration without checking for non-null required valuescustomers
(SearchIndexingConfigurationValues customers) Configuration for the Customer Search feature.customers
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Customer Search feature.Configuration for the Customer Search feature.Configuration for the Order Search feature.Configuration for the Product Projection Search and Product Suggestions endpoints.Configuration for the Product Search feature.of()
factory method for an instance of SearchIndexingConfigurationBuilderof
(SearchIndexingConfiguration template) create builder for SearchIndexingConfiguration instanceConfiguration for the Order Search feature.orders
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Order Search feature.products
(SearchIndexingConfigurationValues products) Configuration for the Product Projection Search and Product Suggestions endpoints.products
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Product Projection Search and Product Suggestions endpoints.productsSearch
(SearchIndexingConfigurationValues productsSearch) Configuration for the Product Search feature.productsSearch
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Product Search feature.withCustomers
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Customer Search feature.withOrders
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Order Search feature.withProducts
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Product Projection Search and Product Suggestions endpoints.withProductsSearch
(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Product Search feature.
-
Constructor Details
-
SearchIndexingConfigurationBuilder
public SearchIndexingConfigurationBuilder()
-
-
Method Details
-
products
public SearchIndexingConfigurationBuilder products(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Product Projection Search and Product Suggestions endpoints.
- Parameters:
builder
- function to build the products value- Returns:
- Builder
-
withProducts
public SearchIndexingConfigurationBuilder withProducts(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Product Projection Search and Product Suggestions endpoints.
- Parameters:
builder
- function to build the products value- Returns:
- Builder
-
products
public SearchIndexingConfigurationBuilder products(@Nullable SearchIndexingConfigurationValues products) Configuration for the Product Projection Search and Product Suggestions endpoints.
- Parameters:
products
- value to be set- Returns:
- Builder
-
productsSearch
public SearchIndexingConfigurationBuilder productsSearch(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Product Search feature.
- Parameters:
builder
- function to build the productsSearch value- Returns:
- Builder
-
withProductsSearch
public SearchIndexingConfigurationBuilder withProductsSearch(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Product Search feature.
- Parameters:
builder
- function to build the productsSearch value- Returns:
- Builder
-
productsSearch
public SearchIndexingConfigurationBuilder productsSearch(@Nullable SearchIndexingConfigurationValues productsSearch) Configuration for the Product Search feature.
- Parameters:
productsSearch
- value to be set- Returns:
- Builder
-
orders
public SearchIndexingConfigurationBuilder orders(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Order Search feature.
- Parameters:
builder
- function to build the orders value- Returns:
- Builder
-
withOrders
public SearchIndexingConfigurationBuilder withOrders(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Order Search feature.
- Parameters:
builder
- function to build the orders value- Returns:
- Builder
-
orders
public SearchIndexingConfigurationBuilder orders(@Nullable SearchIndexingConfigurationValues orders) Configuration for the Order Search feature.
- Parameters:
orders
- value to be set- Returns:
- Builder
-
customers
public SearchIndexingConfigurationBuilder customers(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValuesBuilder> builder) Configuration for the Customer Search feature.
- Parameters:
builder
- function to build the customers value- Returns:
- Builder
-
withCustomers
public SearchIndexingConfigurationBuilder withCustomers(Function<SearchIndexingConfigurationValuesBuilder, SearchIndexingConfigurationValues> builder) Configuration for the Customer Search feature.
- Parameters:
builder
- function to build the customers value- Returns:
- Builder
-
customers
public SearchIndexingConfigurationBuilder customers(@Nullable SearchIndexingConfigurationValues customers) Configuration for the Customer Search feature.
- Parameters:
customers
- value to be set- Returns:
- Builder
-
getProducts
Configuration for the Product Projection Search and Product Suggestions endpoints.
- Returns:
- products
-
getProductsSearch
Configuration for the Product Search feature.
- Returns:
- productsSearch
-
getOrders
Configuration for the Order Search feature.
- Returns:
- orders
-
getCustomers
Configuration for the Customer Search feature.
- Returns:
- customers
-
build
builds SearchIndexingConfiguration with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchIndexingConfiguration>
- Returns:
- SearchIndexingConfiguration
-
buildUnchecked
builds SearchIndexingConfiguration without checking for non-null required values- Returns:
- SearchIndexingConfiguration
-
of
factory method for an instance of SearchIndexingConfigurationBuilder- Returns:
- builder
-
of
create builder for SearchIndexingConfiguration instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-