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
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description WatcherActionTotalsbuild()Builds aWatcherActionTotals.protected WatcherActionTotals.Builderself()WatcherActionTotals.Buildertotal(long value)Required - API name:totalWatcherActionTotals.BuildertotalTimeInMs(long value)Required - API name:total_time_in_msMethods 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
-
total
Required - API name:total -
totalTimeInMs
Required - API name:total_time_in_ms -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<WatcherActionTotals.Builder>
-
build
Builds aWatcherActionTotals.- Specified by:
buildin interfaceObjectBuilder<WatcherActionTotals>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-