Class StopAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StopAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.StopAnalyzer.Builder
- All Implemented Interfaces:
WithJson<StopAnalyzer.Builder>,ObjectBuilder<StopAnalyzer>
- Enclosing class:
- StopAnalyzer
public static class StopAnalyzer.Builder
extends WithJsonObjectBuilderBase<StopAnalyzer.Builder>
implements ObjectBuilder<StopAnalyzer>
Builder for
StopAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStopAnalyzer.protected StopAnalyzer.Builderself()final StopAnalyzer.BuilderAPI name:stopwordsfinal StopAnalyzer.BuilderAPI name:stopwordsfinal StopAnalyzer.BuilderstopwordsPath(String value) API name:stopwords_pathfinal StopAnalyzer.BuilderAPI name:versionMethods 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
-
version
API name:version -
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<StopAnalyzer.Builder>
-
build
Builds aStopAnalyzer.- Specified by:
buildin interfaceObjectBuilder<StopAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-