Class Ingest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Ingest.Builder
- All Implemented Interfaces:
ObjectBuilder<Ingest>
- Enclosing class:
- Ingest
public static class Ingest.Builder extends java.lang.Object 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, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)
Setpipelines(Map)
to a singleton map.Ingest.Builder
pipelines(java.util.Map<java.lang.String,IngestTotal> value)
Required - API name:pipelines
Ingest.Builder
putPipelines(java.lang.String key, IngestTotal value)
Add a key/value topipelines(Map)
, creating the map if needed.Ingest.Builder
putPipelines(java.lang.String key, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)
Add a key/value topipelines(Map)
, creating the map if needed.Ingest.Builder
total(IngestTotal value)
Required - API name:total
Ingest.Builder
total(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)
Required - API name:total
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
Required - API name:pipelines
-
putPipelines
Add a key/value topipelines(Map)
, creating the map if needed. -
pipelines
public Ingest.Builder pipelines(java.lang.String key, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)Setpipelines(Map)
to a singleton map. -
putPipelines
public Ingest.Builder putPipelines(java.lang.String key, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)Add a key/value topipelines(Map)
, creating the map if needed. -
total
Required - API name:total
-
total
public Ingest.Builder total(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)Required - API name:total
-
build
Builds aIngest
.- Specified by:
build
in interfaceObjectBuilder<Ingest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-