Class StopAnalyzer.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.StopAnalyzer.Builder
- All Implemented Interfaces:
ObjectBuilder<StopAnalyzer>
- Enclosing class:
- StopAnalyzer
public static class StopAnalyzer.Builder extends java.lang.Object implements ObjectBuilder<StopAnalyzer>
Builder for
StopAnalyzer.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StopAnalyzer.BuilderaddStopwords(java.lang.String value)Add a value tostopwords(List), creating the list if needed.StopAnalyzerbuild()Builds aStopAnalyzer.StopAnalyzer.Builderstopwords(java.lang.String... value)Required - API name:stopwordsStopAnalyzer.Builderstopwords(java.util.List<java.lang.String> value)Required - API name:stopwordsStopAnalyzer.BuilderstopwordsPath(java.lang.String value)Required - API name:stopwords_pathStopAnalyzer.Builderversion(java.lang.String value)Required - API name:versionMethods 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
Required - API name:version -
stopwords
Required - API name:stopwords -
stopwords
Required - API name:stopwords -
addStopwords
Add a value tostopwords(List), creating the list if needed. -
stopwordsPath
Required - API name:stopwords_path -
build
Builds aStopAnalyzer.- Specified by:
buildin interfaceObjectBuilder<StopAnalyzer>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-