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 KuromojiPartOfSpeechTokenFilterbuild()Builds aKuromojiPartOfSpeechTokenFilter.protected KuromojiPartOfSpeechTokenFilter.Builderself()KuromojiPartOfSpeechTokenFilter.Builderstoptags(java.lang.String value, java.lang.String... values)Required - API name:stoptagsKuromojiPartOfSpeechTokenFilter.Builderstoptags(java.util.List<java.lang.String> list)Required - API name:stoptagsMethods inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder
versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:stoptagsAdds all elements of
listtostoptags. -
stoptags
public final KuromojiPartOfSpeechTokenFilter.Builder stoptags(java.lang.String value, java.lang.String... values)Required - API name:stoptagsAdds one or more values to
stoptags. -
self
- Specified by:
selfin classTokenFilterBase.AbstractBuilder<KuromojiPartOfSpeechTokenFilter.Builder>
-
build
Builds aKuromojiPartOfSpeechTokenFilter.- Specified by:
buildin interfaceObjectBuilder<KuromojiPartOfSpeechTokenFilter>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-