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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ResumeFollowRequest>
Json deserializer forResumeFollowRequest
static final Endpoint<ResumeFollowRequest,
ResumeFollowResponse, ErrorResponse> Endpoint "ccr.resume_follow
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
index()
Required - The name of the follow index to resume following.final Time
Period to wait for a connection to the master node.final Long
API name:max_outstanding_read_requests
final Long
API name:max_outstanding_write_requests
final Long
API name:max_read_request_operation_count
final String
API name:max_read_request_size
final Time
API name:max_retry_delay
final Long
API name:max_write_buffer_count
final String
API name:max_write_buffer_size
final Long
API name:max_write_request_operation_count
final String
API name:max_write_request_size
static ResumeFollowRequest
final Time
API name:read_poll_timeout
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forResumeFollowRequest
-
_ENDPOINT
Endpoint "ccr.resume_follow
".
-
-
Method Details
-
of
public static ResumeFollowRequest of(Function<ResumeFollowRequest.Builder, ObjectBuilder<ResumeFollowRequest>> fn) -
index
Required - The name of the follow index to resume following.API name:
index
-
masterTimeout
Period to wait for a connection to the master node.API name:
master_timeout
-
maxOutstandingReadRequests
API name:max_outstanding_read_requests
-
maxOutstandingWriteRequests
API name:max_outstanding_write_requests
-
maxReadRequestOperationCount
API name:max_read_request_operation_count
-
maxReadRequestSize
API name:max_read_request_size
-
maxRetryDelay
API name:max_retry_delay
-
maxWriteBufferCount
API name:max_write_buffer_count
-
maxWriteBufferSize
API name:max_write_buffer_size
-
maxWriteRequestOperationCount
API name:max_write_request_operation_count
-
maxWriteRequestSize
API name:max_write_request_size
-
readPollTimeout
API name:read_poll_timeout
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupResumeFollowRequestDeserializer
protected static void setupResumeFollowRequestDeserializer(ObjectDeserializer<ResumeFollowRequest.Builder> op)
-