Class WatcherWatchTriggerSchedule.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.xpack.usage.Counter.AbstractBuilder<WatcherWatchTriggerSchedule.Builder>
co.elastic.clients.elasticsearch.xpack.usage.WatcherWatchTriggerSchedule.Builder
- All Implemented Interfaces:
WithJson<WatcherWatchTriggerSchedule.Builder>
,ObjectBuilder<WatcherWatchTriggerSchedule>
- Enclosing class:
- WatcherWatchTriggerSchedule
public static class WatcherWatchTriggerSchedule.Builder
extends Counter.AbstractBuilder<WatcherWatchTriggerSchedule.Builder>
implements ObjectBuilder<WatcherWatchTriggerSchedule>
Builder for
WatcherWatchTriggerSchedule
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:_all
Required - API name:_all
build()
Builds aWatcherWatchTriggerSchedule
.Required - API name:cron
Required - API name:cron
protected WatcherWatchTriggerSchedule.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Counter.AbstractBuilder
active, total
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cron
Required - API name:cron
-
cron
public final WatcherWatchTriggerSchedule.Builder cron(Function<Counter.Builder, ObjectBuilder<Counter>> fn) Required - API name:cron
-
all
Required - API name:_all
-
all
public final WatcherWatchTriggerSchedule.Builder all(Function<Counter.Builder, ObjectBuilder<Counter>> fn) Required - API name:_all
-
self
- Specified by:
self
in classCounter.AbstractBuilder<WatcherWatchTriggerSchedule.Builder>
-
build
Builds aWatcherWatchTriggerSchedule
.- Specified by:
build
in interfaceObjectBuilder<WatcherWatchTriggerSchedule>
- Throws:
NullPointerException
- if some of the required fields are null.
-