Class PutPipelineRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ingest.PutPipelineRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PutPipelineRequest
extends RequestBase
implements JsonpSerializable
Create or update a pipeline. Changes made using this API take effect
immediately.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutPipelineRequest>Json deserializer forPutPipelineRequeststatic final Endpoint<PutPipelineRequest,PutPipelineResponse, ErrorResponse> Endpoint "ingest.put_pipeline". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanMarks this ingest pipeline as deprecated.final StringDescription of the ingest pipeline.final FieldAccessPatternControls how processors in this pipeline should read and write data on a document's source.final Stringid()Required - ID of the ingest pipeline to create or update.final LongRequired version for optimistic concurrency control for pipeline updatesfinal TimePeriod to wait for a connection to the master node.meta()Optional metadata about the ingest pipeline.static PutPipelineRequestProcessors to run immediately after a processor failure.Processors used to perform transformations on documents before indexing.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetimeout()Period to wait for a response.final Longversion()Version number used by external systems to track ingest pipelines.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutPipelineRequest -
_ENDPOINT
Endpoint "ingest.put_pipeline".
-
-
Method Details
-
of
public static PutPipelineRequest of(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) -
meta
Optional metadata about the ingest pipeline. May have any contents. This map is not automatically generated by Elasticsearch.API name:
_meta -
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 -
description
Description of the ingest pipeline.API name:
description -
fieldAccessPattern
Controls how processors in this pipeline should read and write data on a document's source.API name:
field_access_pattern -
id
Required - ID of the ingest pipeline to create or update.API name:
id -
ifVersion
Required version for optimistic concurrency control for pipeline updatesAPI name:
if_version -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
onFailure
Processors to run immediately after a processor failure. Each processor supports a processor-levelon_failurevalue. If a processor without anon_failurevalue fails, Elasticsearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. Elasticsearch will not attempt to run the pipeline's remaining processors.API name:
on_failure -
processors
Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processors -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
version
Version number used by external systems to track ingest pipelines. This parameter is intended for external systems only. Elasticsearch does not use or validate pipeline version numbers.API name:
version -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPutPipelineRequestDeserializer
protected static void setupPutPipelineRequestDeserializer(ObjectDeserializer<PutPipelineRequest.Builder> op)
-