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