Class WatcherActionTotals.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<WatcherActionTotals.Builder>
co.elastic.clients.elasticsearch.xpack.usage.WatcherActionTotals.Builder
- All Implemented Interfaces:
WithJson<WatcherActionTotals.Builder>
,ObjectBuilder<WatcherActionTotals>
- Enclosing class:
- WatcherActionTotals
public static class WatcherActionTotals.Builder
extends WithJsonObjectBuilderBase<WatcherActionTotals.Builder>
implements ObjectBuilder<WatcherActionTotals>
Builder for
WatcherActionTotals
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aWatcherActionTotals
.protected WatcherActionTotals.Builder
self()
Required - API name:total
Required - API name:total
totalTimeInMs
(long value) Required - API name:total_time_in_ms
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
-
total
Required - API name:total
-
total
Required - API name:total
-
totalTimeInMs
Required - API name:total_time_in_ms
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<WatcherActionTotals.Builder>
-
build
Builds aWatcherActionTotals
.- Specified by:
build
in interfaceObjectBuilder<WatcherActionTotals>
- Throws:
NullPointerException
- if some of the required fields are null.
-