Class FollowRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.FollowRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<FollowRequest>
- Enclosing class:
- FollowRequest
public static class FollowRequest.Builder extends java.lang.Object implements ObjectBuilder<FollowRequest>
Builder for
FollowRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FollowRequestbuild()Builds aFollowRequest.FollowRequest.Builderindex(java.lang.String value)Required - The name of the follower indexFollowRequest.BuilderleaderIndex(java.lang.String value)API name:leader_indexFollowRequest.BuildermaxOutstandingReadRequests(java.lang.Long value)API name:max_outstanding_read_requestsFollowRequest.BuildermaxOutstandingWriteRequests(java.lang.Long value)API name:max_outstanding_write_requestsFollowRequest.BuildermaxReadRequestOperationCount(java.lang.Long value)API name:max_read_request_operation_countFollowRequest.BuildermaxReadRequestSize(java.lang.String value)API name:max_read_request_sizeFollowRequest.BuildermaxRetryDelay(java.lang.String value)API name:max_retry_delayFollowRequest.BuildermaxWriteBufferCount(java.lang.Long value)API name:max_write_buffer_countFollowRequest.BuildermaxWriteBufferSize(java.lang.String value)API name:max_write_buffer_sizeFollowRequest.BuildermaxWriteRequestOperationCount(java.lang.Long value)API name:max_write_request_operation_countFollowRequest.BuildermaxWriteRequestSize(java.lang.String value)API name:max_write_request_sizeFollowRequest.BuilderreadPollTimeout(java.lang.String value)API name:read_poll_timeoutFollowRequest.BuilderremoteCluster(java.lang.String value)API name:remote_clusterFollowRequest.BuilderwaitForActiveShards(jakarta.json.JsonValue value)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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
Required - The name of the follower indexAPI name:
index -
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
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 -
build
Builds aFollowRequest.- Specified by:
buildin interfaceObjectBuilder<FollowRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-