Class DutchAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DutchAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.DutchAnalyzer.Builder
- All Implemented Interfaces:
WithJson<DutchAnalyzer.Builder>,ObjectBuilder<DutchAnalyzer>
- Enclosing class:
- DutchAnalyzer
public static class DutchAnalyzer.Builder extends WithJsonObjectBuilderBase<DutchAnalyzer.Builder> implements ObjectBuilder<DutchAnalyzer>
Builder for
DutchAnalyzer.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DutchAnalyzerbuild()Builds aDutchAnalyzer.protected DutchAnalyzer.Builderself()DutchAnalyzer.Builderstopwords(java.lang.String value, java.lang.String... values)API name:stopwordsDutchAnalyzer.Builderstopwords(java.util.List<java.lang.String> list)API name:stopwordsMethods 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
-
stopwords
API name:stopwordsAdds all elements of
listtostopwords. -
stopwords
API name:stopwordsAdds one or more values to
stopwords. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DutchAnalyzer.Builder>
-
build
Builds aDutchAnalyzer.- Specified by:
buildin interfaceObjectBuilder<DutchAnalyzer>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-