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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Ingestbuild()Builds aIngest.Ingest.Builderpipelines(java.lang.String key, IngestTotal value)API name:pipelinesIngest.Builderpipelines(java.lang.String key, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)API name:pipelinesIngest.Builderpipelines(java.util.Map<java.lang.String,IngestTotal> map)API name:pipelinesprotected Ingest.Builderself()Ingest.Buildertotal(IngestTotal value)API name:totalIngest.Buildertotal(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)API name:totalMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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(java.lang.String key, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)API name:pipelinesAdds an entry to
pipelinesusing a builder lambda. -
total
API name:total -
total
public final Ingest.Builder total(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)API name:total -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Ingest.Builder>
-
build
Builds aIngest.- Specified by:
buildin interfaceObjectBuilder<Ingest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-