Class FollowRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ccr.FollowRequest
- All Implemented Interfaces:
JsonpSerializable
Creates a new follower index configured to follow the referenced leader
index.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<FollowRequest>
Json deserializer forFollowRequest
static final Endpoint<FollowRequest,
FollowResponse, ErrorResponse> Endpoint "ccr.follow
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
index()
Required - The name of the follower indexfinal String
API name:leader_index
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 FollowRequest
final Time
API name:read_poll_timeout
final String
API name:remote_cluster
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
final WaitForActiveShards
Sets the number of shard copies that must be active before returning.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forFollowRequest
-
_ENDPOINT
Endpoint "ccr.follow
".
-
-
Method Details
-
of
-
index
Required - The name of the follower indexAPI name:
index
-
leaderIndex
API name:leader_index
-
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
-
remoteCluster
API name:remote_cluster
-
waitForActiveShards
Sets the number of shard copies that must be active before returning. Defaults to 0. Set toall
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
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFollowRequestDeserializer
-