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.Builder
active(java.lang.Long value)
API name:active
ThreadCount
build()
Builds aThreadCount
.ThreadCount.Builder
completed(java.lang.Long value)
API name:completed
ThreadCount.Builder
largest(java.lang.Long value)
API name:largest
ThreadCount.Builder
queue(java.lang.Long value)
API name:queue
ThreadCount.Builder
rejected(java.lang.Long value)
API name:rejected
protected ThreadCount.Builder
self()
ThreadCount.Builder
threads(java.lang.Long value)
API name:threads
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
-
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:
self
in classWithJsonObjectBuilderBase<ThreadCount.Builder>
-
build
Builds aThreadCount
.- Specified by:
build
in interfaceObjectBuilder<ThreadCount>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-