Class CustomTokenizerBuilder
java.lang.Object
com.commercetools.importapi.models.products.CustomTokenizerBuilder
- All Implemented Interfaces:
Builder<CustomTokenizer>
CustomTokenizerBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomTokenizer customTokenizer = CustomTokenizer.builder()
.plusInputs(inputsBuilder -> inputsBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds CustomTokenizer with checking for non-null required valuesbuilds CustomTokenizer without checking for non-null required valuesvalue of inputs}set values to the inputsset value to the inputsstatic CustomTokenizerBuilderof()factory method for an instance of CustomTokenizerBuilderstatic CustomTokenizerBuilderof(CustomTokenizer template) create builder for CustomTokenizer instanceplusInputs(String... inputs) add values to the inputs
-
Constructor Details
-
CustomTokenizerBuilder
public CustomTokenizerBuilder()
-
-
Method Details
-
inputs
set values to the inputs- Parameters:
inputs- value to be set- Returns:
- Builder
-
inputs
set value to the inputs- Parameters:
inputs- value to be set- Returns:
- Builder
-
plusInputs
add values to the inputs- Parameters:
inputs- value to be set- Returns:
- Builder
-
getInputs
value of inputs}- Returns:
- inputs
-
build
builds CustomTokenizer with checking for non-null required values- Specified by:
buildin interfaceBuilder<CustomTokenizer>- Returns:
- CustomTokenizer
-
buildUnchecked
builds CustomTokenizer without checking for non-null required values- Returns:
- CustomTokenizer
-
of
factory method for an instance of CustomTokenizerBuilder- Returns:
- builder
-
of
create builder for CustomTokenizer instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-