Class CjkAnalyzer.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.CjkAnalyzer.Builder
- All Implemented Interfaces:
CopyableBuilder<CjkAnalyzer.Builder,,CjkAnalyzer> MutableBuilder<CjkAnalyzer.Builder,,CjkAnalyzer> ObjectBuilder<CjkAnalyzer>
- Enclosing class:
CjkAnalyzer
public static class CjkAnalyzer.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CjkAnalyzer.Builder,CjkAnalyzer>
Builder for
CjkAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCjkAnalyzer.copy()Create a new builderCopyableBuilderthat is a copy of this one.final CjkAnalyzer.BuilderAPI name:stopwordsfinal CjkAnalyzer.BuilderAPI name:stopwordsfinal CjkAnalyzer.BuilderstopwordsPath(String value) API name:stopwords_pathMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<CjkAnalyzer.Builder,CjkAnalyzer> - Returns:
- a new builder instance.
-
stopwords
API name:stopwordsAdds all elements of
listtostopwords. -
stopwords
API name:stopwordsAdds one or more values to
stopwords. -
stopwordsPath
API name:stopwords_path -
build
Builds aCjkAnalyzer.- Specified by:
buildin interfaceObjectBuilder<CjkAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-