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 Ingest
build()
Builds aIngest
.Ingest.Builder
pipelines(java.lang.String key, IngestTotal value)
API name:pipelines
Ingest.Builder
pipelines(java.lang.String key, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)
API name:pipelines
Ingest.Builder
pipelines(java.util.Map<java.lang.String,IngestTotal> map)
API name:pipelines
protected Ingest.Builder
self()
Ingest.Builder
total(IngestTotal value)
API name:total
Ingest.Builder
total(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)
API name:total
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:pipelines
Adds all entries of
map
topipelines
. -
pipelines
API name:pipelines
Adds 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:pipelines
Adds an entry to
pipelines
using 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:
self
in classWithJsonObjectBuilderBase<Ingest.Builder>
-
build
Builds aIngest
.- Specified by:
build
in interfaceObjectBuilder<Ingest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-