Class SearchFullTextPrefixExpressionBuilder
java.lang.Object
com.commercetools.api.models.search.SearchFullTextPrefixExpressionBuilder
- All Implemented Interfaces:
Builder<SearchFullTextPrefixExpression>
public class SearchFullTextPrefixExpressionBuilder
extends Object
implements Builder<SearchFullTextPrefixExpression>
SearchFullTextPrefixExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchFullTextPrefixExpression searchFullTextPrefixExpression = SearchFullTextPrefixExpression.builder()
.fullTextPrefix(fullTextPrefixBuilder -> fullTextPrefixBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds SearchFullTextPrefixExpression with checking for non-null required valuesbuilds SearchFullTextPrefixExpression without checking for non-null required valuesfullTextPrefix
(SearchFullTextPrefixValue fullTextPrefix) set the value to the fullTextPrefixset the value to the fullTextPrefix using the builder functionvalue of fullTextPrefix}of()
factory method for an instance of SearchFullTextPrefixExpressionBuilderof
(SearchFullTextPrefixExpression template) create builder for SearchFullTextPrefixExpression instanceset the value to the fullTextPrefix using the builder function
-
Constructor Details
-
SearchFullTextPrefixExpressionBuilder
public SearchFullTextPrefixExpressionBuilder()
-
-
Method Details
-
fullTextPrefix
public SearchFullTextPrefixExpressionBuilder fullTextPrefix(Function<SearchFullTextPrefixValueBuilder, SearchFullTextPrefixValueBuilder> builder) set the value to the fullTextPrefix using the builder function- Parameters:
builder
- function to build the fullTextPrefix value- Returns:
- Builder
-
withFullTextPrefix
public SearchFullTextPrefixExpressionBuilder withFullTextPrefix(Function<SearchFullTextPrefixValueBuilder, SearchFullTextPrefixValue> builder) set the value to the fullTextPrefix using the builder function- Parameters:
builder
- function to build the fullTextPrefix value- Returns:
- Builder
-
fullTextPrefix
public SearchFullTextPrefixExpressionBuilder fullTextPrefix(SearchFullTextPrefixValue fullTextPrefix) set the value to the fullTextPrefix- Parameters:
fullTextPrefix
- value to be set- Returns:
- Builder
-
getFullTextPrefix
value of fullTextPrefix}- Returns:
- fullTextPrefix
-
build
builds SearchFullTextPrefixExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchFullTextPrefixExpression>
- Returns:
- SearchFullTextPrefixExpression
-
buildUnchecked
builds SearchFullTextPrefixExpression without checking for non-null required values- Returns:
- SearchFullTextPrefixExpression
-
of
factory method for an instance of SearchFullTextPrefixExpressionBuilder- Returns:
- builder
-
of
create builder for SearchFullTextPrefixExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-