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
Creates or updates a pipeline.
See Also:
  • Field Details

  • Method Details

    • of

    • meta

      public final Map<String,JsonData> meta()
      Optional metadata about the ingest pipeline. May have any contents. This map is not automatically generated by Elasticsearch.

      API name: _meta

    • description

      @Nullable public final String description()
      Description of the ingest pipeline.

      API name: description

    • id

      public final String id()
      Required - Pipeline ID

      API name: id

    • masterTimeout

      @Nullable public final Time 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

      public final List<Processor> onFailure()
      API name: on_failure
    • processors

      public final List<Processor> processors()
      API name: processors
    • timeout

      @Nullable public final Time timeout()
      Explicit operation timeout

      API name: timeout

    • version

      @Nullable public final Long version()
      API name: version
    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupPutPipelineRequestDeserializer

      protected static void setupPutPipelineRequestDeserializer(ObjectDeserializer<PutPipelineRequest.Builder> op)