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