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