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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aStopAnalyzer
.protected StopAnalyzer.Builder
self()
final StopAnalyzer.Builder
API name:stopwords
final StopAnalyzer.Builder
API name:stopwords
final StopAnalyzer.Builder
stopwordsPath
(String value) API name:stopwords_path
final StopAnalyzer.Builder
API name:version
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<StopAnalyzer.Builder>
-
build
Builds aStopAnalyzer
.- Specified by:
build
in interfaceObjectBuilder<StopAnalyzer>
- Throws:
NullPointerException
- if some of the required fields are null.
-