Class Datafeed.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Datafeed.Builder>
co.elastic.clients.elasticsearch.xpack.usage.Datafeed.Builder
- All Implemented Interfaces:
WithJson<Datafeed.Builder>
,ObjectBuilder<Datafeed>
- Enclosing class:
- Datafeed
public static class Datafeed.Builder extends WithJsonObjectBuilderBase<Datafeed.Builder> implements ObjectBuilder<Datafeed>
Builder for
Datafeed
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Datafeed
build()
Builds aDatafeed
.Datafeed.Builder
count(long value)
Required - API name:count
protected Datafeed.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
count
Required - API name:count
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Datafeed.Builder>
-
build
Builds aDatafeed
.- Specified by:
build
in interfaceObjectBuilder<Datafeed>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-