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