Class KuromojiPartOfSpeechTokenFilter.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder<KuromojiPartOfSpeechTokenFilter.Builder>
org.opensearch.client.opensearch._types.analysis.KuromojiPartOfSpeechTokenFilter.Builder
- All Implemented Interfaces:
CopyableBuilder<KuromojiPartOfSpeechTokenFilter.Builder,,KuromojiPartOfSpeechTokenFilter> MutableBuilder<KuromojiPartOfSpeechTokenFilter.Builder,,KuromojiPartOfSpeechTokenFilter> ObjectBuilder<KuromojiPartOfSpeechTokenFilter>
- Enclosing class:
KuromojiPartOfSpeechTokenFilter
public static class KuromojiPartOfSpeechTokenFilter.Builder
extends TokenFilterBase.AbstractBuilder<KuromojiPartOfSpeechTokenFilter.Builder>
implements CopyableBuilder<KuromojiPartOfSpeechTokenFilter.Builder,KuromojiPartOfSpeechTokenFilter>
Builder for
KuromojiPartOfSpeechTokenFilter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aKuromojiPartOfSpeechTokenFilter.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected KuromojiPartOfSpeechTokenFilter.Builderself()Required - API name:stoptagsRequired - API name:stoptagsMethods inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder
versionMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<KuromojiPartOfSpeechTokenFilter.Builder,KuromojiPartOfSpeechTokenFilter> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classTokenFilterBase.AbstractBuilder<KuromojiPartOfSpeechTokenFilter.Builder>
-
stoptags
Required - API name:stoptagsAdds all elements of
listtostoptags. -
stoptags
@Nonnull public final KuromojiPartOfSpeechTokenFilter.Builder stoptags(String value, String... values) Required - API name:stoptagsAdds one or more values to
stoptags. -
build
Builds aKuromojiPartOfSpeechTokenFilter.- Specified by:
buildin interfaceObjectBuilder<KuromojiPartOfSpeechTokenFilter>- Throws:
NullPointerException- if some of the required fields are null.
-