Class HotThread.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.hot_threads.HotThread.Builder
- All Implemented Interfaces:
ObjectBuilder<HotThread>
- Enclosing class:
HotThread
Builder for
HotThread.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aHotThread.final HotThread.BuilderRequired - API name:hostsfinal HotThread.BuilderRequired - API name:hostsfinal HotThread.BuilderRequired - API name:node_idfinal HotThread.BuilderRequired - API name:node_namefinal HotThread.BuilderRequired - API name:threadsfinal HotThread.BuilderRequired - API name:threadsMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
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. -
build
Builds aHotThread.- Specified by:
buildin interfaceObjectBuilder<HotThread>- Throws:
NullPointerException- if some of the required fields are null.
-