Class IngestTotal.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.IngestTotal.Builder
- All Implemented Interfaces:
CopyableBuilder<IngestTotal.Builder,,IngestTotal> MutableBuilder<IngestTotal.Builder,,IngestTotal> ObjectBuilder<IngestTotal>
- Enclosing class:
IngestTotal
public static class IngestTotal.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IngestTotal.Builder,IngestTotal>
Builder for
IngestTotal.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIngestTotal.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IngestTotal.BuilderTotal number of documents ingested during the lifetime of this node.final IngestTotal.BuilderTotal number of documents currently being ingested.final IngestTotal.BuilderTotal number of failed ingest operations during the lifetime of this node.final IngestTotal.Builderprocessors(List<Map<String, KeyedProcessor>> list) Total number of ingest processors.final IngestTotal.Builderprocessors(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) Total number of ingest processors.final IngestTotal.BuilderAPI name:timefinal IngestTotal.BuilderAPI name:timefinal IngestTotal.BuildertimeInMillis(Long value) API name:time_in_millisMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IngestTotal.Builder,IngestTotal> - Returns:
- a new builder instance.
-
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:
processorsAdds all elements of
listtoprocessors. -
processors
@Nonnull public final IngestTotal.Builder processors(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) Total number of ingest processors.API name:
processorsAdds one or more values to
processors. -
time
API name:time -
time
API name:time -
timeInMillis
API name:time_in_millis -
build
Builds aIngestTotal.- Specified by:
buildin interfaceObjectBuilder<IngestTotal>- Throws:
NullPointerException- if some of the required fields are null.
-