Class SettingsAnalyze.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SettingsAnalyze.Builder>
co.elastic.clients.elasticsearch.indices.SettingsAnalyze.Builder
- All Implemented Interfaces:
WithJson<SettingsAnalyze.Builder>
,ObjectBuilder<SettingsAnalyze>
- Enclosing class:
- SettingsAnalyze
public static class SettingsAnalyze.Builder extends WithJsonObjectBuilderBase<SettingsAnalyze.Builder> implements ObjectBuilder<SettingsAnalyze>
Builder for
SettingsAnalyze
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SettingsAnalyze
build()
Builds aSettingsAnalyze
.SettingsAnalyze.Builder
maxTokenCount(java.lang.Integer value)
API name:max_token_count
protected SettingsAnalyze.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
-
maxTokenCount
API name:max_token_count
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<SettingsAnalyze.Builder>
-
build
Builds aSettingsAnalyze
.- Specified by:
build
in interfaceObjectBuilder<SettingsAnalyze>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-