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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFollowRequest.BuilderBuilder forFollowRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FollowRequest>_DESERIALIZERJson deserializer forFollowRequeststatic Endpoint<FollowRequest,FollowResponse,ElasticsearchError>ENDPOINTEndpoint "ccr.follow". -
Constructor Summary
Constructors Constructor Description FollowRequest(FollowRequest.Builder builder)FollowRequest(java.util.function.Function<FollowRequest.Builder,FollowRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringindex()Required - The name of the follower indexjava.lang.StringleaderIndex()API name:leader_indexjava.lang.LongmaxOutstandingReadRequests()API name:max_outstanding_read_requestsjava.lang.LongmaxOutstandingWriteRequests()API name:max_outstanding_write_requestsjava.lang.LongmaxReadRequestOperationCount()API name:max_read_request_operation_countjava.lang.StringmaxReadRequestSize()API name:max_read_request_sizejava.lang.StringmaxRetryDelay()API name:max_retry_delayjava.lang.LongmaxWriteBufferCount()API name:max_write_buffer_countjava.lang.StringmaxWriteBufferSize()API name:max_write_buffer_sizejava.lang.LongmaxWriteRequestOperationCount()API name:max_write_request_operation_countjava.lang.StringmaxWriteRequestSize()API name:max_write_request_sizejava.lang.StringreadPollTimeout()API name:read_poll_timeoutjava.lang.StringremoteCluster()API name:remote_clustervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFollowRequestDeserializer(DelegatingDeserializer<FollowRequest.Builder> op)jakarta.json.JsonValuewaitForActiveShards()Sets the number of shard copies that must be active before returning.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFollowRequest -
ENDPOINT
Endpoint "ccr.follow".
-
-
Constructor Details
-
FollowRequest
-
FollowRequest
-
-
Method Details
-
index
public java.lang.String index()Required - The name of the follower indexAPI 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 toallfor 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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFollowRequestDeserializer
protected static void setupFollowRequestDeserializer(DelegatingDeserializer<FollowRequest.Builder> op)
-