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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StopAnalyzerbuild()Builds aStopAnalyzer.protected StopAnalyzer.Builderself()StopAnalyzer.Builderstopwords(java.lang.String value, java.lang.String... values)API name:stopwordsStopAnalyzer.Builderstopwords(java.util.List<java.lang.String> list)API name:stopwordsStopAnalyzer.BuilderstopwordsPath(java.lang.String value)API name:stopwords_pathStopAnalyzer.Builderversion(java.lang.String value)API name:versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException- if some of the required fields are null.
-