Class NoriPartOfSpeechTokenFilter.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder<NoriPartOfSpeechTokenFilter.Builder>
co.elastic.clients.elasticsearch._types.analysis.NoriPartOfSpeechTokenFilter.Builder
- All Implemented Interfaces:
ObjectBuilder<NoriPartOfSpeechTokenFilter>
- Enclosing class:
- NoriPartOfSpeechTokenFilter
public static class NoriPartOfSpeechTokenFilter.Builder extends TokenFilterBase.AbstractBuilder<NoriPartOfSpeechTokenFilter.Builder> implements ObjectBuilder<NoriPartOfSpeechTokenFilter>
Builder for
NoriPartOfSpeechTokenFilter
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NoriPartOfSpeechTokenFilter
build()
Builds aNoriPartOfSpeechTokenFilter
.protected NoriPartOfSpeechTokenFilter.Builder
self()
NoriPartOfSpeechTokenFilter.Builder
stoptags(java.lang.String value, java.lang.String... values)
Required - API name:stoptags
NoriPartOfSpeechTokenFilter.Builder
stoptags(java.util.List<java.lang.String> list)
Required - API name:stoptags
Methods inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder
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
-
stoptags
Required - API name:stoptags
Adds all elements of
list
tostoptags
. -
stoptags
public final NoriPartOfSpeechTokenFilter.Builder stoptags(java.lang.String value, java.lang.String... values)Required - API name:stoptags
Adds one or more values to
stoptags
. -
self
- Specified by:
self
in classTokenFilterBase.AbstractBuilder<NoriPartOfSpeechTokenFilter.Builder>
-
build
Builds aNoriPartOfSpeechTokenFilter
.- Specified by:
build
in interfaceObjectBuilder<NoriPartOfSpeechTokenFilter>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-