Class MlCounter.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<MlCounter.Builder>
co.elastic.clients.elasticsearch.xpack.usage.MlCounter.Builder
- All Implemented Interfaces:
WithJson<MlCounter.Builder>,ObjectBuilder<MlCounter>
- Enclosing class:
- MlCounter
public static class MlCounter.Builder extends WithJsonObjectBuilderBase<MlCounter.Builder> implements ObjectBuilder<MlCounter>
Builder for
MlCounter.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description MlCounterbuild()Builds aMlCounter.MlCounter.Buildercount(long value)Required - API name:countprotected MlCounter.Builderself()Methods 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
-
count
Required - API name:count -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<MlCounter.Builder>
-
build
Builds aMlCounter.- Specified by:
buildin interfaceObjectBuilder<MlCounter>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-