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
-
Method Summary
Modifier and TypeMethodDescriptionfinal ThreadCount.Builder
API name:active
build()
Builds aThreadCount
.final ThreadCount.Builder
API name:completed
final ThreadCount.Builder
API name:largest
final ThreadCount.Builder
API name:queue
final ThreadCount.Builder
API name:rejected
protected ThreadCount.Builder
self()
final ThreadCount.Builder
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
-
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:
NullPointerException
- if some of the required fields are null.
-