Class ThreadCount.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ThreadCount.Builder>
co.elastic.clients.elasticsearch.nodes.ThreadCount.Builder
- All Implemented Interfaces:
WithJson<ThreadCount.Builder>,ObjectBuilder<ThreadCount>
- Enclosing class:
- ThreadCount
public static class ThreadCount.Builder extends WithJsonObjectBuilderBase<ThreadCount.Builder> implements ObjectBuilder<ThreadCount>
Builder for
ThreadCount.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ThreadCount.Builderactive(java.lang.Long value)API name:activeThreadCountbuild()Builds aThreadCount.ThreadCount.Buildercompleted(java.lang.Long value)API name:completedThreadCount.Builderlargest(java.lang.Long value)API name:largestThreadCount.Builderqueue(java.lang.Long value)API name:queueThreadCount.Builderrejected(java.lang.Long value)API name:rejectedprotected ThreadCount.Builderself()ThreadCount.Builderthreads(java.lang.Long value)API name:threadsMethods 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
-
active
API name:active -
completed
API name:completed -
largest
API name:largest -
queue
API name:queue -
rejected
API name:rejected -
threads
API name:threads -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ThreadCount.Builder>
-
build
Builds aThreadCount.- Specified by:
buildin interfaceObjectBuilder<ThreadCount>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-