Class StopAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.analysis.StopAnalyzer.Builder
- All Implemented Interfaces:
ObjectBuilder<StopAnalyzer>
- Enclosing class:
- StopAnalyzer
public static class StopAnalyzer.Builder extends ObjectBuilderBase implements ObjectBuilder<StopAnalyzer>
Builder for
StopAnalyzer
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description StopAnalyzer
build()
Builds aStopAnalyzer
.StopAnalyzer.Builder
stopwords(java.lang.String value, java.lang.String... values)
API name:stopwords
StopAnalyzer.Builder
stopwords(java.util.List<java.lang.String> list)
API name:stopwords
StopAnalyzer.Builder
stopwordsPath(java.lang.String value)
API name:stopwords_path
StopAnalyzer.Builder
version(java.lang.String value)
API name:version
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:stopwords
Adds all elements of
list
tostopwords
. -
stopwords
API name:stopwords
Adds one or more values to
stopwords
. -
stopwordsPath
API name:stopwords_path
-
build
Builds aStopAnalyzer
.- Specified by:
build
in interfaceObjectBuilder<StopAnalyzer>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-