Class HotThread.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<HotThread.Builder>
co.elastic.clients.elasticsearch.nodes.hot_threads.HotThread.Builder
- All Implemented Interfaces:
WithJson<HotThread.Builder>,ObjectBuilder<HotThread>
- Enclosing class:
- HotThread
public static class HotThread.Builder extends WithJsonObjectBuilderBase<HotThread.Builder> implements ObjectBuilder<HotThread>
Builder for
HotThread.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HotThreadbuild()Builds aHotThread.HotThread.Builderhosts(java.lang.String value, java.lang.String... values)Required - API name:hostsHotThread.Builderhosts(java.util.List<java.lang.String> list)Required - API name:hostsHotThread.BuildernodeId(java.lang.String value)Required - API name:node_idHotThread.BuildernodeName(java.lang.String value)Required - API name:node_nameprotected HotThread.Builderself()HotThread.Builderthreads(java.lang.String value, java.lang.String... values)Required - API name:threadsHotThread.Builderthreads(java.util.List<java.lang.String> list)Required - 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
-
hosts
Required - API name:hostsAdds all elements of
listtohosts. -
hosts
Required - API name:hostsAdds one or more values to
hosts. -
nodeId
Required - API name:node_id -
nodeName
Required - API name:node_name -
threads
Required - API name:threadsAdds all elements of
listtothreads. -
threads
Required - API name:threadsAdds one or more values to
threads. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<HotThread.Builder>
-
build
Builds aHotThread.- Specified by:
buildin interfaceObjectBuilder<HotThread>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-