Class IngestTotal.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IngestTotal.Builder>
co.elastic.clients.elasticsearch.nodes.IngestTotal.Builder
- All Implemented Interfaces:
WithJson<IngestTotal.Builder>,ObjectBuilder<IngestTotal>
- Enclosing class:
- IngestTotal
public static class IngestTotal.Builder
extends WithJsonObjectBuilderBase<IngestTotal.Builder>
implements ObjectBuilder<IngestTotal>
Builder for
IngestTotal.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIngestTotal.final IngestTotal.Buildercount(long value) Required - Total number of documents ingested during the lifetime of this node.final IngestTotal.Buildercurrent(long value) Required - Total number of documents currently being ingested.final IngestTotal.Builderfailed(long value) Required - Total number of failed ingest operations during the lifetime of this node.protected IngestTotal.Builderself()final IngestTotal.BuildertimeInMillis(long value) Required - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Required - Total number of documents ingested during the lifetime of this node.API name:
count -
current
Required - Total number of documents currently being ingested.API name:
current -
failed
Required - Total number of failed ingest operations during the lifetime of this node.API name:
failed -
timeInMillis
Required - Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.API name:
time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IngestTotal.Builder>
-
build
Builds aIngestTotal.- Specified by:
buildin interfaceObjectBuilder<IngestTotal>- Throws:
NullPointerException- if some of the required fields are null.
-