Class CountRecord.Builder
java.lang.Object
org.opensearch.client.opensearch.cat.count.CountRecord.Builder
- All Implemented Interfaces:
ObjectBuilder<CountRecord>
- Enclosing class:
- CountRecord
public static class CountRecord.Builder extends java.lang.Object implements ObjectBuilder<CountRecord>
Builder for
CountRecord.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description CountRecordbuild()Builds aCountRecord.CountRecord.Buildercount(java.lang.String value)the document count API name:countCountRecord.Builderepoch(jakarta.json.JsonValue value)seconds since 1969-01-01 00:00:00 API name:epochCountRecord.Buildertimestamp(java.lang.String value)time in HH:MM:SS API name:timestamp
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
epoch
seconds since 1969-01-01 00:00:00 API name:epoch -
timestamp
time in HH:MM:SS API name:timestamp -
count
the document count API name:count -
build
Builds aCountRecord.- Specified by:
buildin interfaceObjectBuilder<CountRecord>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-