Class KuromojiPartOfSpeechTokenFilter.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder<KuromojiPartOfSpeechTokenFilter.Builder>
co.elastic.clients.elasticsearch._types.analysis.KuromojiPartOfSpeechTokenFilter.Builder
- All Implemented Interfaces:
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.BuilderaddStoptags(java.lang.String value)Add a value tostoptags(List), creating the list if needed.KuromojiPartOfSpeechTokenFilterbuild()Builds aKuromojiPartOfSpeechTokenFilter.protected KuromojiPartOfSpeechTokenFilter.Builderself()KuromojiPartOfSpeechTokenFilter.Builderstoptags(java.lang.String... value)Required - API name:stoptagsKuromojiPartOfSpeechTokenFilter.Builderstoptags(java.util.List<java.lang.String> value)Required - API name:stoptagsMethods inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder
versionMethods 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 -
stoptags
Required - API name:stoptags -
addStoptags
Add a value tostoptags(List), creating the list if needed. -
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.
-