Class Ingest.Builder
java.lang.Object
org.opensearch.client.opensearch.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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Ingestbuild()Builds aIngest.Ingest.Builderpipelines(java.lang.String key, java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)Setpipelines(Map)to a singleton map.Ingest.Builderpipelines(java.util.Map<java.lang.String,IngestTotal> value)API name:pipelinesIngest.BuilderputPipelines(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.BuilderputPipelines(java.lang.String key, IngestTotal value)Add a key/value topipelines(Map), creating the map if needed.Ingest.Buildertotal(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)API name:totalIngest.Buildertotal(IngestTotal value)API name:total
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pipelines
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
API name:total -
total
public Ingest.Builder total(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)API name:total -
build
Builds aIngest.- Specified by:
buildin interfaceObjectBuilder<Ingest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-