Class Counter.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.xpack.usage.Counter.AbstractBuilder<Counter.Builder>
co.elastic.clients.elasticsearch.xpack.usage.Counter.Builder
- All Implemented Interfaces:
ObjectBuilder<Counter>
- Enclosing class:
- Counter
public static class Counter.Builder extends Counter.AbstractBuilder<Counter.Builder> implements ObjectBuilder<Counter>
Builder for
Counter
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Counter
build()
Builds aCounter
.protected Counter.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Counter.AbstractBuilder
active, total
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
-
self
- Specified by:
self
in classCounter.AbstractBuilder<Counter.Builder>
-
build
Builds aCounter
.- Specified by:
build
in interfaceObjectBuilder<Counter>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-