Class Ingest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Ingest.Builder>
co.elastic.clients.elasticsearch.nodes.Ingest.Builder
- All Implemented Interfaces:
WithJson<Ingest.Builder>,ObjectBuilder<Ingest>
- Enclosing class:
- Ingest
public static class Ingest.Builder
extends WithJsonObjectBuilderBase<Ingest.Builder>
implements ObjectBuilder<Ingest>
Builder for
Ingest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIngest.final Ingest.Builderpipelines(String key, IngestStats value) Contains statistics about ingest pipelines for the node.final Ingest.BuilderContains statistics about ingest pipelines for the node.final Ingest.Builderpipelines(Map<String, IngestStats> map) Contains statistics about ingest pipelines for the node.protected Ingest.Builderself()final Ingest.Buildertotal(IngestTotal value) Contains statistics about ingest operations for the node.final Ingest.BuilderContains statistics about ingest operations for the 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
-
pipelines
Contains statistics about ingest pipelines for the node.API name:
pipelinesAdds all entries of
maptopipelines. -
pipelines
Contains statistics about ingest pipelines for the node.API name:
pipelinesAdds an entry to
pipelines. -
pipelines
public final Ingest.Builder pipelines(String key, Function<IngestStats.Builder, ObjectBuilder<IngestStats>> fn) Contains statistics about ingest pipelines for the node.API name:
pipelinesAdds an entry to
pipelinesusing a builder lambda. -
total
Contains statistics about ingest operations for the node.API name:
total -
total
Contains statistics about ingest operations for the node.API name:
total -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Ingest.Builder>
-
build
Builds aIngest.- Specified by:
buildin interfaceObjectBuilder<Ingest>- Throws:
NullPointerException- if some of the required fields are null.
-