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, IngestTotal value) API name:pipelinesfinal Ingest.BuilderAPI name:pipelinesfinal Ingest.Builderpipelines(Map<String, IngestTotal> map) API name:pipelinesprotected Ingest.Builderself()final Ingest.Buildertotal(IngestTotal value) API name:totalfinal Ingest.BuilderAPI name:totalMethods 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
API name:pipelinesAdds all entries of
maptopipelines. -
pipelines
API name:pipelinesAdds an entry to
pipelines. -
pipelines
public final Ingest.Builder pipelines(String key, Function<IngestTotal.Builder, ObjectBuilder<IngestTotal>> fn) API name:pipelinesAdds an entry to
pipelinesusing a builder lambda. -
total
API name:total -
total
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.
-