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