Class ResumeFollowRequest

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

@JsonpDeserializable public class ResumeFollowRequest extends RequestBase implements JsonpSerializable
Resume a follower. Resume a cross-cluster replication follower index that was paused. The follower index could have been paused with the pause follower API. Alternatively it could be paused due to replication that cannot be retried due to failures during following tasks. When this API returns, the follower index will resume fetching operations from the leader index.
See Also:
  • Field Details

  • Method Details

    • of

    • index

      public final String index()
      Required - The name of the follow index to resume following.

      API name: index

    • masterTimeout

      @Nullable public final Time masterTimeout()
      Period to wait for a connection to the master node.

      API name: master_timeout

    • maxOutstandingReadRequests

      @Nullable public final Long maxOutstandingReadRequests()
      API name: max_outstanding_read_requests
    • maxOutstandingWriteRequests

      @Nullable public final Long maxOutstandingWriteRequests()
      API name: max_outstanding_write_requests
    • maxReadRequestOperationCount

      @Nullable public final Long maxReadRequestOperationCount()
      API name: max_read_request_operation_count
    • maxReadRequestSize

      @Nullable public final String maxReadRequestSize()
      API name: max_read_request_size
    • maxRetryDelay

      @Nullable public final Time maxRetryDelay()
      API name: max_retry_delay
    • maxWriteBufferCount

      @Nullable public final Long maxWriteBufferCount()
      API name: max_write_buffer_count
    • maxWriteBufferSize

      @Nullable public final String maxWriteBufferSize()
      API name: max_write_buffer_size
    • maxWriteRequestOperationCount

      @Nullable public final Long maxWriteRequestOperationCount()
      API name: max_write_request_operation_count
    • maxWriteRequestSize

      @Nullable public final String maxWriteRequestSize()
      API name: max_write_request_size
    • readPollTimeout

      @Nullable public final Time readPollTimeout()
      API name: read_poll_timeout
    • 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)
    • setupResumeFollowRequestDeserializer

      protected static void setupResumeFollowRequestDeserializer(ObjectDeserializer<ResumeFollowRequest.Builder> op)