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 -
Method Summary
Modifier and TypeMethodDescriptionfinal ThreadCount.BuilderAPI name:activebuild()Builds aThreadCount.final ThreadCount.BuilderAPI name:completedfinal ThreadCount.BuilderAPI name:largestfinal ThreadCount.BuilderAPI name:queuefinal ThreadCount.BuilderAPI name:rejectedprotected ThreadCount.Builderself()final ThreadCount.BuilderAPI name:threadsMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<ThreadCount.Builder>
-
build
Builds aThreadCount.- Specified by:
buildin interfaceObjectBuilder<ThreadCount>- Throws:
NullPointerException- if some of the required fields are null.
-