Class CountRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.count.CountRecord.Builder
- All Implemented Interfaces:
ObjectBuilder<CountRecord>
- Enclosing class:
- CountRecord
public static class CountRecord.Builder extends ObjectBuilderBase implements ObjectBuilder<CountRecord>
Builder for
CountRecord.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description CountRecordbuild()Builds aCountRecord.CountRecord.Buildercount(java.lang.String value)the document countCountRecord.Builderepoch(java.lang.String value)seconds since 1969-01-01 00:00:00CountRecord.Buildertimestamp(java.lang.String value)time in HH:MM:SSMethods 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
-
epoch
seconds since 1969-01-01 00:00:00API name:
epoch -
timestamp
time in HH:MM:SSAPI name:
timestamp -
count
the document countAPI name:
count -
build
Builds aCountRecord.- Specified by:
buildin interfaceObjectBuilder<CountRecord>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-