Class SearchFullTextValueBuilder
java.lang.Object
com.commercetools.api.models.search.SearchFullTextValueBuilder
- All Implemented Interfaces:
Builder<SearchFullTextValue>
SearchFullTextValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchFullTextValue searchFullTextValue = SearchFullTextValue.builder()
.field("{field}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionset the value to the boostbuild()
builds SearchFullTextValue with checking for non-null required valuesbuilds SearchFullTextValue without checking for non-null required valuesset the value to the fieldfieldType
(SearchFieldType fieldType) Possible values for thefieldType
property on query expressions indicating the data type of thefield
.getBoost()
value of boost}getField()
value of field}Possible values for thefieldType
property on query expressions indicating the data type of thefield
.String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.value of mustMatch}getValue()
value of value}String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.mustMatch
(SearchMatchType mustMatch) set the value to the mustMatchstatic SearchFullTextValueBuilder
of()
factory method for an instance of SearchFullTextValueBuilderstatic SearchFullTextValueBuilder
of
(SearchFullTextValue template) create builder for SearchFullTextValue instanceset the value to the value
-
Constructor Details
-
SearchFullTextValueBuilder
public SearchFullTextValueBuilder()
-
-
Method Details
-
field
set the value to the field- Parameters:
field
- value to be set- Returns:
- Builder
-
boost
set the value to the boost- Parameters:
boost
- value to be set- Returns:
- Builder
-
fieldType
Possible values for the
fieldType
property on query expressions indicating the data type of thefield
.- Parameters:
fieldType
- value to be set- Returns:
- Builder
-
value
set the value to the value- Parameters:
value
- value to be set- Returns:
- Builder
-
language
String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example:
en
,en-US
,zh-Hans-SG
.- Parameters:
language
- value to be set- Returns:
- Builder
-
mustMatch
set the value to the mustMatch- Parameters:
mustMatch
- value to be set- Returns:
- Builder
-
getField
value of field}- Returns:
- field
-
getBoost
value of boost}- Returns:
- boost
-
getFieldType
Possible values for the
fieldType
property on query expressions indicating the data type of thefield
.- Returns:
- fieldType
-
getValue
value of value}- Returns:
- value
-
getLanguage
String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example:
en
,en-US
,zh-Hans-SG
.- Returns:
- language
-
getMustMatch
value of mustMatch}- Returns:
- mustMatch
-
build
builds SearchFullTextValue with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchFullTextValue>
- Returns:
- SearchFullTextValue
-
buildUnchecked
builds SearchFullTextValue without checking for non-null required values- Returns:
- SearchFullTextValue
-
of
factory method for an instance of SearchFullTextValueBuilder- Returns:
- builder
-
of
create builder for SearchFullTextValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-