Class KuromojiAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.analysis.KuromojiAnalyzer.Builder
- All Implemented Interfaces:
ObjectBuilder<KuromojiAnalyzer>
- Enclosing class:
- KuromojiAnalyzer
public static class KuromojiAnalyzer.Builder extends ObjectBuilderBase implements ObjectBuilder<KuromojiAnalyzer>
Builder for
KuromojiAnalyzer
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description KuromojiAnalyzer
build()
Builds aKuromojiAnalyzer
.KuromojiAnalyzer.Builder
mode(KuromojiTokenizationMode value)
Required - API name:mode
KuromojiAnalyzer.Builder
userDictionary(java.lang.String value)
API name:user_dictionary
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
-
mode
Required - API name:mode
-
userDictionary
API name:user_dictionary
-
build
Builds aKuromojiAnalyzer
.- Specified by:
build
in interfaceObjectBuilder<KuromojiAnalyzer>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-