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.Builder
count
(long value) Required - Total number of documents ingested during the lifetime of this node.final IngestTotal.Builder
current
(long value) Required - Total number of documents currently being ingested.final IngestTotal.Builder
failed
(long value) Required - Total number of failed ingest operations during the lifetime of this node.protected IngestTotal.Builder
self()
final IngestTotal.Builder
timeInMillis
(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
withJson
Methods 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:
self
in classWithJsonObjectBuilderBase<IngestTotal.Builder>
-
build
Builds aIngestTotal
.- Specified by:
build
in interfaceObjectBuilder<IngestTotal>
- Throws:
NullPointerException
- if some of the required fields are null.
-