Class FollowRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ccr.FollowRequest
All Implemented Interfaces:
ElasticsearchCommonRequest, JsonpSerializable

@JsonpDeserializable
public final class FollowRequest
extends RequestBase
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • index

      public java.lang.String index()
      Required - The name of the follower index

      API name: index

    • waitForActiveShards

      @Nullable public jakarta.json.JsonValue waitForActiveShards()
      Sets the number of shard copies that must be active before returning. Defaults to 0. Set to all for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)

      API name: wait_for_active_shards

    • leaderIndex

      @Nullable public java.lang.String leaderIndex()
      API name: leader_index
    • maxOutstandingReadRequests

      @Nullable public java.lang.Long maxOutstandingReadRequests()
      API name: max_outstanding_read_requests
    • maxOutstandingWriteRequests

      @Nullable public java.lang.Long maxOutstandingWriteRequests()
      API name: max_outstanding_write_requests
    • maxReadRequestOperationCount

      @Nullable public java.lang.Long maxReadRequestOperationCount()
      API name: max_read_request_operation_count
    • maxReadRequestSize

      @Nullable public java.lang.String maxReadRequestSize()
      API name: max_read_request_size
    • maxRetryDelay

      @Nullable public java.lang.String maxRetryDelay()
      API name: max_retry_delay
    • maxWriteBufferCount

      @Nullable public java.lang.Long maxWriteBufferCount()
      API name: max_write_buffer_count
    • maxWriteBufferSize

      @Nullable public java.lang.String maxWriteBufferSize()
      API name: max_write_buffer_size
    • maxWriteRequestOperationCount

      @Nullable public java.lang.Long maxWriteRequestOperationCount()
      API name: max_write_request_operation_count
    • maxWriteRequestSize

      @Nullable public java.lang.String maxWriteRequestSize()
      API name: max_write_request_size
    • readPollTimeout

      @Nullable public java.lang.String readPollTimeout()
      API name: read_poll_timeout
    • remoteCluster

      @Nullable public java.lang.String remoteCluster()
      API name: remote_cluster
    • 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)
    • setupFollowRequestDeserializer

      protected static void setupFollowRequestDeserializer​(DelegatingDeserializer<FollowRequest.Builder> op)