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 forResumeFollowRequeststatic final Endpoint<ResumeFollowRequest,ResumeFollowResponse, ErrorResponse> Endpoint "ccr.resume_follow". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringindex()Required - The name of the follow index to resume following.final TimePeriod to wait for a connection to the master node.final LongAPI name:max_outstanding_read_requestsfinal LongAPI name:max_outstanding_write_requestsfinal LongAPI name:max_read_request_operation_countfinal StringAPI name:max_read_request_sizefinal TimeAPI name:max_retry_delayfinal LongAPI name:max_write_buffer_countfinal StringAPI name:max_write_buffer_sizefinal LongAPI name:max_write_request_operation_countfinal StringAPI name:max_write_request_sizestatic ResumeFollowRequestfinal TimeAPI name:read_poll_timeoutvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupResumeFollowRequestDeserializer
protected static void setupResumeFollowRequestDeserializer(ObjectDeserializer<ResumeFollowRequest.Builder> op)
-