Class ProductSearchFacetExpressionBuilder
java.lang.Object
com.commercetools.api.models.product_search.ProductSearchFacetExpressionBuilder
- All Implemented Interfaces:
Builder<ProductSearchFacetExpression>
public class ProductSearchFacetExpressionBuilder
extends Object
implements Builder<ProductSearchFacetExpression>
ProductSearchFacetExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchFacetExpression productSearchFacetExpression = ProductSearchFacetExpression.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductSearchFacetExpression with checking for non-null required valuesbuilds ProductSearchFacetExpression without checking for non-null required valuesof()
factory method for an instance of ProductSearchFacetExpressionBuilderof
(ProductSearchFacetExpression template) create builder for ProductSearchFacetExpression instance
-
Constructor Details
-
ProductSearchFacetExpressionBuilder
public ProductSearchFacetExpressionBuilder()
-
-
Method Details
-
build
builds ProductSearchFacetExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductSearchFacetExpression>
- Returns:
- ProductSearchFacetExpression
-
buildUnchecked
builds ProductSearchFacetExpression without checking for non-null required values- Returns:
- ProductSearchFacetExpression
-
of
factory method for an instance of ProductSearchFacetExpressionBuilder- Returns:
- builder
-
of
create builder for ProductSearchFacetExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-