Class WatcherNodeStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.watcher.stats.WatcherNodeStats.Builder
- All Implemented Interfaces:
ObjectBuilder<WatcherNodeStats>
- Enclosing class:
- WatcherNodeStats
public static class WatcherNodeStats.Builder extends ObjectBuilderBase implements ObjectBuilder<WatcherNodeStats>
Builder for
WatcherNodeStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Methods 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
-
currentWatches
API name:current_watchesAdds all elements of
listtocurrentWatches. -
currentWatches
public final WatcherNodeStats.Builder currentWatches(WatchRecordStats value, WatchRecordStats... values)API name:current_watchesAdds one or more values to
currentWatches. -
currentWatches
public final WatcherNodeStats.Builder currentWatches(java.util.function.Function<WatchRecordStats.Builder,ObjectBuilder<WatchRecordStats>> fn)API name:current_watchesAdds a value to
currentWatchesusing a builder lambda. -
executionThreadPool
Required - API name:execution_thread_pool -
executionThreadPool
public final WatcherNodeStats.Builder executionThreadPool(java.util.function.Function<ExecutionThreadPool.Builder,ObjectBuilder<ExecutionThreadPool>> fn)Required - API name:execution_thread_pool -
queuedWatches
API name:queued_watchesAdds all elements of
listtoqueuedWatches. -
queuedWatches
public final WatcherNodeStats.Builder queuedWatches(WatchRecordQueuedStats value, WatchRecordQueuedStats... values)API name:queued_watchesAdds one or more values to
queuedWatches. -
queuedWatches
public final WatcherNodeStats.Builder queuedWatches(java.util.function.Function<WatchRecordQueuedStats.Builder,ObjectBuilder<WatchRecordQueuedStats>> fn)API name:queued_watchesAdds a value to
queuedWatchesusing a builder lambda. -
watchCount
Required - API name:watch_count -
watcherState
Required - API name:watcher_state -
nodeId
Required - API name:node_id -
build
Builds aWatcherNodeStats.- Specified by:
buildin interfaceObjectBuilder<WatcherNodeStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-