Class FacetResultsBuilder
java.lang.Object
com.commercetools.api.models.product.FacetResultsBuilder
- All Implemented Interfaces:
Builder<FacetResults>
Deprecated.
FacetResultsBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
FacetResults facetResults = FacetResults.builder()
./^[a-z].*$/(/^[a-z].*$/Builder -> /^[a-z].*$/Builder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValue(String key, FacetResult value) Deprecated.build()Deprecated.builds FacetResults with checking for non-null required valuesDeprecated.builds FacetResults without checking for non-null required valuesDeprecated.static FacetResultsBuilderof()Deprecated.factory method for an instance of FacetResultsBuilderstatic FacetResultsBuilderof(FacetResults template) Deprecated.create builder for FacetResults instancevalues(Map<String, FacetResult> values) Deprecated.
-
Constructor Details
-
FacetResultsBuilder
public FacetResultsBuilder()Deprecated.
-
-
Method Details
-
values
Deprecated.assign pattern properties to the builder- Parameters:
values- properties to be set- Returns:
- Builder
-
addValue
Deprecated.assign a pattern property to the builder- Parameters:
key- property namevalue- property value- Returns:
- Builder
-
getValues
Deprecated.values of pattern properties- Returns:
- pattern properties
-
build
Deprecated.builds FacetResults with checking for non-null required values- Specified by:
buildin interfaceBuilder<FacetResults>- Returns:
- FacetResults
-
buildUnchecked
Deprecated.builds FacetResults without checking for non-null required values- Returns:
- FacetResults
-
of
Deprecated.factory method for an instance of FacetResultsBuilder- Returns:
- builder
-
of
Deprecated.create builder for FacetResults instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-