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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aIngestTotal
.final IngestTotal.Builder
Total number of documents ingested during the lifetime of this node.final IngestTotal.Builder
Total number of documents currently being ingested.final IngestTotal.Builder
Total number of failed ingest operations during the lifetime of this node.final IngestTotal.Builder
processors
(List<Map<String, KeyedProcessor>> list) Total number of ingest processors.final IngestTotal.Builder
processors
(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) Total number of ingest processors.protected IngestTotal.Builder
self()
final IngestTotal.Builder
timeInMillis
(Long value) 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
Total number of documents ingested during the lifetime of this node.API name:
count
-
current
Total number of documents currently being ingested.API name:
current
-
failed
Total number of failed ingest operations during the lifetime of this node.API name:
failed
-
processors
Total number of ingest processors.API name:
processors
Adds all elements of
list
toprocessors
. -
processors
public final IngestTotal.Builder processors(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) Total number of ingest processors.API name:
processors
Adds one or more values to
processors
. -
timeInMillis
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.
-