Class IcuAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IcuAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.IcuAnalyzer.Builder
- All Implemented Interfaces:
WithJson<IcuAnalyzer.Builder>
,ObjectBuilder<IcuAnalyzer>
- Enclosing class:
- IcuAnalyzer
public static class IcuAnalyzer.Builder extends WithJsonObjectBuilderBase<IcuAnalyzer.Builder> implements ObjectBuilder<IcuAnalyzer>
Builder for
IcuAnalyzer
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IcuAnalyzer
build()
Builds aIcuAnalyzer
.IcuAnalyzer.Builder
method(IcuNormalizationType value)
Required - API name:method
IcuAnalyzer.Builder
mode(IcuNormalizationMode value)
Required - API name:mode
protected IcuAnalyzer.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
method
Required - API name:method
-
mode
Required - API name:mode
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IcuAnalyzer.Builder>
-
build
Builds aIcuAnalyzer
.- Specified by:
build
in interfaceObjectBuilder<IcuAnalyzer>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-