Class Pipeline.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Pipeline.Builder>
co.elastic.clients.elasticsearch.ingest.Pipeline.Builder
- All Implemented Interfaces:
WithJson<Pipeline.Builder>
,ObjectBuilder<Pipeline>
- Enclosing class:
- Pipeline
public static class Pipeline.Builder
extends WithJsonObjectBuilderBase<Pipeline.Builder>
implements ObjectBuilder<Pipeline>
Builder for
Pipeline
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPipeline
.final Pipeline.Builder
description
(String value) Description of the ingest pipeline.final Pipeline.Builder
Arbitrary metadata about the ingest pipeline.final Pipeline.Builder
Arbitrary metadata about the ingest pipeline.final Pipeline.Builder
Processors to run immediately after a processor failure.final Pipeline.Builder
Processors to run immediately after a processor failure.final Pipeline.Builder
Processors to run immediately after a processor failure.final Pipeline.Builder
processors
(Processor value, Processor... values) Processors used to perform transformations on documents before indexing.final Pipeline.Builder
Processors used to perform transformations on documents before indexing.final Pipeline.Builder
processors
(List<Processor> list) Processors used to perform transformations on documents before indexing.protected Pipeline.Builder
self()
final Pipeline.Builder
Version number used by external systems to track ingest pipelines.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Description of the ingest pipeline.API name:
description
-
onFailure
Processors to run immediately after a processor failure.API name:
on_failure
Adds all elements of
list
toonFailure
. -
onFailure
Processors to run immediately after a processor failure.API name:
on_failure
Adds one or more values to
onFailure
. -
onFailure
Processors to run immediately after a processor failure.API name:
on_failure
Adds a value to
onFailure
using a builder lambda. -
processors
Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processors
Adds all elements of
list
toprocessors
. -
processors
Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processors
Adds one or more values to
processors
. -
processors
Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processors
Adds a value to
processors
using a builder lambda. -
version
Version number used by external systems to track ingest pipelines.API name:
version
-
meta
Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch.API name:
_meta
Adds all entries of
map
tometa
. -
meta
Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch.API name:
_meta
Adds an entry to
meta
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Pipeline.Builder>
-
build
Builds aPipeline
.- Specified by:
build
in interfaceObjectBuilder<Pipeline>
- Throws:
NullPointerException
- if some of the required fields are null.
-