Class Ingest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.nodes.Ingest.Builder
-
- All Implemented Interfaces:
ObjectBuilder<Ingest>
- Enclosing class:
- Ingest
public static class Ingest.Builder extends ObjectBuilderBase implements ObjectBuilder<Ingest>
Builder forIngest
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
Required - API name:pipelines
Ingest.Builder
pipelines(java.lang.String key, IngestTotal value)
Required - API name:pipelines
Ingest.Builder
pipelines(java.util.Map<java.lang.String,IngestTotal> map)
Required - API name:pipelines
Ingest.Builder
total(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)
Required - API name:total
Ingest.Builder
total(IngestTotal value)
Required - API name:total
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
pipelines
public final Ingest.Builder pipelines(java.util.Map<java.lang.String,IngestTotal> map)
Required - API name:pipelines
Adds all entries of
map
topipelines
.
-
pipelines
public final Ingest.Builder pipelines(java.lang.String key, IngestTotal value)
Required - 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)
Required - API name:pipelines
Adds an entry to
pipelines
using a builder lambda.
-
total
public final Ingest.Builder total(IngestTotal value)
Required - API name:total
-
total
public final Ingest.Builder total(java.util.function.Function<IngestTotal.Builder,ObjectBuilder<IngestTotal>> fn)
Required - API name:total
-
build
public Ingest build()
Builds aIngest
.- Specified by:
build
in interfaceObjectBuilder<Ingest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-