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
public static class HotThread.Builder extends ObjectBuilderBase implements ObjectBuilder<HotThread>
Builder forHotThread.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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_nameHotThread.Builderthreads(java.lang.String value, java.lang.String... values)Required - API name:threadsHotThread.Builderthreads(java.util.List<java.lang.String> list)Required - API name:threads-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
hosts
public final HotThread.Builder hosts(java.util.List<java.lang.String> list)
Required - API name:hostsAdds all elements of
listtohosts.
-
hosts
public final HotThread.Builder hosts(java.lang.String value, java.lang.String... values)
Required - API name:hostsAdds one or more values to
hosts.
-
nodeId
public final HotThread.Builder nodeId(java.lang.String value)
Required - API name:node_id
-
nodeName
public final HotThread.Builder nodeName(java.lang.String value)
Required - API name:node_name
-
threads
public final HotThread.Builder threads(java.util.List<java.lang.String> list)
Required - API name:threadsAdds all elements of
listtothreads.
-
threads
public final HotThread.Builder threads(java.lang.String value, java.lang.String... values)
Required - API name:threadsAdds one or more values to
threads.
-
build
public HotThread build()
Builds aHotThread.- Specified by:
buildin interfaceObjectBuilder<HotThread>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-