Class SearchFullTextExpressionBuilder
java.lang.Object
com.commercetools.api.models.search.SearchFullTextExpressionBuilder
- All Implemented Interfaces:
Builder<SearchFullTextExpression>
public class SearchFullTextExpressionBuilder
extends Object
implements Builder<SearchFullTextExpression>
SearchFullTextExpressionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchFullTextExpression searchFullTextExpression = SearchFullTextExpression.builder()
.fullText(fullTextBuilder -> fullTextBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds SearchFullTextExpression with checking for non-null required valuesbuilds SearchFullTextExpression without checking for non-null required valuesfullText
(SearchFullTextValue fullText) set the value to the fullTextset the value to the fullText using the builder functionvalue of fullText}of()
factory method for an instance of SearchFullTextExpressionBuilderof
(SearchFullTextExpression template) create builder for SearchFullTextExpression instanceset the value to the fullText using the builder function
-
Constructor Details
-
SearchFullTextExpressionBuilder
public SearchFullTextExpressionBuilder()
-
-
Method Details
-
fullText
public SearchFullTextExpressionBuilder fullText(Function<SearchFullTextValueBuilder, SearchFullTextValueBuilder> builder) set the value to the fullText using the builder function- Parameters:
builder
- function to build the fullText value- Returns:
- Builder
-
withFullText
public SearchFullTextExpressionBuilder withFullText(Function<SearchFullTextValueBuilder, SearchFullTextValue> builder) set the value to the fullText using the builder function- Parameters:
builder
- function to build the fullText value- Returns:
- Builder
-
fullText
set the value to the fullText- Parameters:
fullText
- value to be set- Returns:
- Builder
-
getFullText
value of fullText}- Returns:
- fullText
-
build
builds SearchFullTextExpression with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchFullTextExpression>
- Returns:
- SearchFullTextExpression
-
buildUnchecked
builds SearchFullTextExpression without checking for non-null required values- Returns:
- SearchFullTextExpression
-
of
factory method for an instance of SearchFullTextExpressionBuilder- Returns:
- builder
-
of
create builder for SearchFullTextExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-