Class PutRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.connector.PutRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class PutRequest extends RequestBase implements JsonpSerializable
Create or update a connector.
See Also:
  • Field Details

  • Method Details

    • of

    • connectorId

      @Nullable public final String connectorId()
      The unique identifier of the connector to be created or updated. ID is auto-generated if not provided.

      API name: connector_id

    • description

      @Nullable public final String description()
      API name: description
    • indexName

      @Nullable public final String indexName()
      API name: index_name
    • isNative

      @Nullable public final Boolean isNative()
      API name: is_native
    • language

      @Nullable public final String language()
      API name: language
    • name

      @Nullable public final String name()
      API name: name
    • serviceType

      @Nullable public final String serviceType()
      API name: service_type
    • 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)
    • setupPutRequestDeserializer

      protected static void setupPutRequestDeserializer(ObjectDeserializer<PutRequest.Builder> op)