Class HotThread.Builder
java.lang.Object
org.opensearch.client.opensearch.nodes.hot_threads.HotThread.Builder
- All Implemented Interfaces:
ObjectBuilder<HotThread>
- Enclosing class:
- HotThread
public static class HotThread.Builder extends java.lang.Object implements ObjectBuilder<HotThread>
Builder for
HotThread.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HotThread.BuilderaddHosts(java.lang.String value)Add a value tohosts(List), creating the list if needed.HotThread.BuilderaddThreads(java.lang.String value)Add a value tothreads(List), creating the list if needed.HotThreadbuild()Builds aHotThread.HotThread.Builderhosts(java.lang.String... value)API name:hostsHotThread.Builderhosts(java.util.List<java.lang.String> value)API name:hostsHotThread.BuildernodeId(java.lang.String value)API name:node_idHotThread.BuildernodeName(java.lang.String value)API name:node_nameHotThread.Builderthreads(java.lang.String... value)API name:threadsHotThread.Builderthreads(java.util.List<java.lang.String> value)API name:threads
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hosts
API name:hosts -
hosts
API name:hosts -
addHosts
Add a value tohosts(List), creating the list if needed. -
nodeId
API name:node_id -
nodeName
API name:node_name -
threads
API name:threads -
threads
API name:threads -
addThreads
Add a value tothreads(List), creating the list if needed. -
build
Builds aHotThread.- Specified by:
buildin interfaceObjectBuilder<HotThread>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-