Class CjkAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CjkAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.CjkAnalyzer.Builder
- All Implemented Interfaces:
WithJson<CjkAnalyzer.Builder>,ObjectBuilder<CjkAnalyzer>
- Enclosing class:
- CjkAnalyzer
public static class CjkAnalyzer.Builder
extends WithJsonObjectBuilderBase<CjkAnalyzer.Builder>
implements ObjectBuilder<CjkAnalyzer>
Builder for
CjkAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCjkAnalyzer.protected CjkAnalyzer.Builderself()final CjkAnalyzer.BuilderAPI name:stopwordsfinal CjkAnalyzer.BuilderAPI name:stopwordsfinal CjkAnalyzer.BuilderstopwordsPath(String value) API name:stopwords_pathMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stopwords
API name:stopwordsAdds all elements of
listtostopwords. -
stopwords
API name:stopwordsAdds one or more values to
stopwords. -
stopwordsPath
API name:stopwords_path -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<CjkAnalyzer.Builder>
-
build
Builds aCjkAnalyzer.- Specified by:
buildin interfaceObjectBuilder<CjkAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-