Class WatcherStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<WatcherStatsRequest.Builder>
co.elastic.clients.elasticsearch.watcher.WatcherStatsRequest.Builder
- All Implemented Interfaces:
WithJson<WatcherStatsRequest.Builder>,ObjectBuilder<WatcherStatsRequest>
- Enclosing class:
- WatcherStatsRequest
public static class WatcherStatsRequest.Builder extends RequestBase.AbstractBuilder<WatcherStatsRequest.Builder> implements ObjectBuilder<WatcherStatsRequest>
Builder for
WatcherStatsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description WatcherStatsRequestbuild()Builds aWatcherStatsRequest.WatcherStatsRequest.BuilderemitStacktraces(java.lang.Boolean value)Defines whether stack traces are generated for each watch that is running.WatcherStatsRequest.Buildermetric(WatcherMetric value, WatcherMetric... values)Defines which additional metrics are included in the response.WatcherStatsRequest.Buildermetric(java.util.List<WatcherMetric> list)Defines which additional metrics are included in the response.protected WatcherStatsRequest.Builderself()Methods 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
-
emitStacktraces
Defines whether stack traces are generated for each watch that is running.API name:
emit_stacktraces -
metric
Defines which additional metrics are included in the response.API name:
metricAdds all elements of
listtometric. -
metric
Defines which additional metrics are included in the response.API name:
metricAdds one or more values to
metric. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<WatcherStatsRequest.Builder>
-
build
Builds aWatcherStatsRequest.- Specified by:
buildin interfaceObjectBuilder<WatcherStatsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-