Class NoriAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NoriAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.NoriAnalyzer.Builder
- All Implemented Interfaces:
WithJson<NoriAnalyzer.Builder>
,ObjectBuilder<NoriAnalyzer>
- Enclosing class:
- NoriAnalyzer
public static class NoriAnalyzer.Builder extends WithJsonObjectBuilderBase<NoriAnalyzer.Builder> implements ObjectBuilder<NoriAnalyzer>
Builder for
NoriAnalyzer
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NoriAnalyzer
build()
Builds aNoriAnalyzer
.NoriAnalyzer.Builder
decompoundMode(NoriDecompoundMode value)
API name:decompound_mode
protected NoriAnalyzer.Builder
self()
NoriAnalyzer.Builder
stoptags(java.lang.String value, java.lang.String... values)
API name:stoptags
NoriAnalyzer.Builder
stoptags(java.util.List<java.lang.String> list)
API name:stoptags
NoriAnalyzer.Builder
userDictionary(java.lang.String value)
API name:user_dictionary
NoriAnalyzer.Builder
version(java.lang.String value)
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
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
-
decompoundMode
API name:decompound_mode
-
stoptags
API name:stoptags
Adds all elements of
list
tostoptags
. -
stoptags
API name:stoptags
Adds one or more values to
stoptags
. -
userDictionary
API name:user_dictionary
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<NoriAnalyzer.Builder>
-
build
Builds aNoriAnalyzer
.- Specified by:
build
in interfaceObjectBuilder<NoriAnalyzer>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-