Class StopAnalyzer.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.StopAnalyzer.Builder
- All Implemented Interfaces:
CopyableBuilder<StopAnalyzer.Builder,,StopAnalyzer> MutableBuilder<StopAnalyzer.Builder,,StopAnalyzer> ObjectBuilder<StopAnalyzer>
- Enclosing class:
StopAnalyzer
public static class StopAnalyzer.Builder
extends ObjectBuilderBase
implements CopyableBuilder<StopAnalyzer.Builder,StopAnalyzer>
Builder for
StopAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStopAnalyzer.copy()Create a new builderCopyableBuilderthat is a copy of this one.final StopAnalyzer.BuilderAPI name:stopwordsfinal StopAnalyzer.BuilderAPI name:stopwordsfinal StopAnalyzer.BuilderstopwordsPath(String value) API name:stopwords_pathfinal StopAnalyzer.BuilderAPI name:versionMethods 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<StopAnalyzer.Builder,StopAnalyzer> - 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 -
version
API name:version -
build
Builds aStopAnalyzer.- Specified by:
buildin interfaceObjectBuilder<StopAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-