Class NodeThreadPoolInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeThreadPoolInfo.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeThreadPoolInfo.Builder
- All Implemented Interfaces:
WithJson<NodeThreadPoolInfo.Builder>,ObjectBuilder<NodeThreadPoolInfo>
- Enclosing class:
- NodeThreadPoolInfo
public static class NodeThreadPoolInfo.Builder extends WithJsonObjectBuilderBase<NodeThreadPoolInfo.Builder> implements ObjectBuilder<NodeThreadPoolInfo>
Builder for
NodeThreadPoolInfo.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodeThreadPoolInfobuild()Builds aNodeThreadPoolInfo.NodeThreadPoolInfo.Buildercore(java.lang.Integer value)API name:coreNodeThreadPoolInfo.BuilderkeepAlive(java.lang.String value)API name:keep_aliveNodeThreadPoolInfo.Buildermax(java.lang.Integer value)API name:maxNodeThreadPoolInfo.BuilderqueueSize(int value)Required - API name:queue_sizeprotected NodeThreadPoolInfo.Builderself()NodeThreadPoolInfo.Buildersize(java.lang.Integer value)API name:sizeNodeThreadPoolInfo.Buildertype(java.lang.String value)Required - API name:typeMethods 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
-
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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeThreadPoolInfo.Builder>
-
build
Builds aNodeThreadPoolInfo.- Specified by:
buildin interfaceObjectBuilder<NodeThreadPoolInfo>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-