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