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:
API specification
  • Field Details

  • Method Details

    • of

      public static PutPipelineRequest of​(java.util.function.Function<PutPipelineRequest.Builder,​ObjectBuilder<PutPipelineRequest>> fn)
    • meta

      public final java.util.Map<java.lang.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 java.lang.String description()
      Description of the ingest pipeline.

      API name: description

    • id

      public final java.lang.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 java.util.List<Processor> onFailure()
      API name: on_failure
    • processors

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

      @Nullable public final Time timeout()
      Explicit operation timeout

      API name: timeout

    • version

      @Nullable public final java.lang.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)