Class ExecutionThreadPool.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ExecutionThreadPool.Builder>
co.elastic.clients.elasticsearch.watcher.ExecutionThreadPool.Builder
- All Implemented Interfaces:
WithJson<ExecutionThreadPool.Builder>,ObjectBuilder<ExecutionThreadPool>
- Enclosing class:
- ExecutionThreadPool
public static class ExecutionThreadPool.Builder extends WithJsonObjectBuilderBase<ExecutionThreadPool.Builder> implements ObjectBuilder<ExecutionThreadPool>
Builder for
ExecutionThreadPool.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExecutionThreadPoolbuild()Builds aExecutionThreadPool.ExecutionThreadPool.BuildermaxSize(long value)Required - API name:max_sizeExecutionThreadPool.BuilderqueueSize(long value)Required - API name:queue_sizeprotected ExecutionThreadPool.Builderself()Methods 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
-
maxSize
Required - API name:max_size -
queueSize
Required - API name:queue_size -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ExecutionThreadPool.Builder>
-
build
Builds aExecutionThreadPool.- Specified by:
buildin interfaceObjectBuilder<ExecutionThreadPool>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-