Class Pipeline.Builder
- All Implemented Interfaces:
WithJson<Pipeline.Builder>,ObjectBuilder<Pipeline>
- Enclosing class:
- Pipeline
Pipeline.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPipeline.final Pipeline.BuildercreatedDate(DateTime value) Date and time when the pipeline was created.final Pipeline.BuildercreatedDateMillis(Long value) Date and time when the pipeline was created, in milliseconds since the epoch.final Pipeline.Builderdeprecated(Boolean value) Marks this ingest pipeline as deprecated.final Pipeline.Builderdescription(String value) Description of the ingest pipeline.final Pipeline.BuilderControls how processors in this pipeline should read and write data on a document's source.final Pipeline.BuilderArbitrary metadata about the ingest pipeline.final Pipeline.BuilderArbitrary metadata about the ingest pipeline.final Pipeline.BuildermodifiedDate(DateTime value) Date and time when the pipeline was last modified.final Pipeline.BuildermodifiedDateMillis(Long value) Date and time when the pipeline was last modified, in milliseconds since the epoch.final Pipeline.BuilderProcessors to run immediately after a processor failure.final Pipeline.BuilderonFailure(ProcessorVariant value, ProcessorVariant... values) Processors to run immediately after a processor failure.final Pipeline.BuilderProcessors to run immediately after a processor failure.final Pipeline.BuilderProcessors to run immediately after a processor failure.final Pipeline.Builderprocessors(Processor value, Processor... values) Processors used to perform transformations on documents before indexing.final Pipeline.Builderprocessors(ProcessorVariant value, ProcessorVariant... values) Processors used to perform transformations on documents before indexing.final Pipeline.BuilderProcessors used to perform transformations on documents before indexing.final Pipeline.Builderprocessors(List<Processor> list) Processors used to perform transformations on documents before indexing.protected Pipeline.Builderself()final Pipeline.BuilderVersion number used by external systems to track ingest pipelines.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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_failureAdds all elements of
listtoonFailure. -
onFailure
Processors to run immediately after a processor failure.API name:
on_failureAdds one or more values to
onFailure. -
onFailure
Processors to run immediately after a processor failure.API name:
on_failureAdds one or more values to
onFailure. -
onFailure
Processors to run immediately after a processor failure.API name:
on_failureAdds a value to
onFailureusing a builder lambda. -
processors
Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processorsAdds all elements of
listtoprocessors. -
processors
Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processorsAdds 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:
processorsAdds 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:
processorsAdds a value to
processorsusing a builder lambda. -
version
Version number used by external systems to track ingest pipelines.API name:
version -
deprecated
Marks this ingest pipeline as deprecated. When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning.API name:
deprecated -
meta
Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch.API name:
_metaAdds all entries of
maptometa. -
meta
Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch.API name:
_metaAdds an entry to
meta. -
createdDate
Date and time when the pipeline was created. Only returned if thehumanquery parameter istrue.API name:
created_date -
createdDateMillis
Date and time when the pipeline was created, in milliseconds since the epoch.API name:
created_date_millis -
modifiedDate
Date and time when the pipeline was last modified. Only returned if thehumanquery parameter istrue.API name:
modified_date -
modifiedDateMillis
Date and time when the pipeline was last modified, in milliseconds since the epoch.API name:
modified_date_millis -
fieldAccessPattern
Controls how processors in this pipeline should read and write data on a document's source.API name:
field_access_pattern -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Pipeline.Builder>
-
build
Builds aPipeline.- Specified by:
buildin interfaceObjectBuilder<Pipeline>- Throws:
NullPointerException- if some of the required fields are null.
-