Class NodeThreadPoolInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.info.NodeThreadPoolInfo.Builder
- All Implemented Interfaces:
ObjectBuilder<NodeThreadPoolInfo>
- Enclosing class:
- NodeThreadPoolInfo
public static class NodeThreadPoolInfo.Builder extends ObjectBuilderBase implements ObjectBuilder<NodeThreadPoolInfo>
Builder for
NodeThreadPoolInfo
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NodeThreadPoolInfo
build()
Builds aNodeThreadPoolInfo
.NodeThreadPoolInfo.Builder
core(java.lang.Integer value)
API name:core
NodeThreadPoolInfo.Builder
keepAlive(java.lang.String value)
API name:keep_alive
NodeThreadPoolInfo.Builder
max(java.lang.Integer value)
API name:max
NodeThreadPoolInfo.Builder
queueSize(int value)
Required - API name:queue_size
NodeThreadPoolInfo.Builder
size(java.lang.Integer value)
API name:size
NodeThreadPoolInfo.Builder
type(java.lang.String value)
Required - API name:type
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
core
API name:core
-
keepAlive
API name:keep_alive
-
max
API name:max
-
queueSize
Required - API name:queue_size
-
size
API name:size
-
type
Required - API name:type
-
build
Builds aNodeThreadPoolInfo
.- Specified by:
build
in interfaceObjectBuilder<NodeThreadPoolInfo>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-