Class ResumeFollowRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ResumeFollowRequest.Builder>
co.elastic.clients.elasticsearch.ccr.ResumeFollowRequest.Builder
- All Implemented Interfaces:
WithJson<ResumeFollowRequest.Builder>,ObjectBuilder<ResumeFollowRequest>
- Enclosing class:
- ResumeFollowRequest
public static class ResumeFollowRequest.Builder
extends RequestBase.AbstractBuilder<ResumeFollowRequest.Builder>
implements ObjectBuilder<ResumeFollowRequest>
Builder for
ResumeFollowRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aResumeFollowRequest.Required - The name of the follow index to resume following.masterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.maxOutstandingReadRequests(Long value) API name:max_outstanding_read_requestsmaxOutstandingWriteRequests(Long value) API name:max_outstanding_write_requestsmaxReadRequestOperationCount(Long value) API name:max_read_request_operation_countmaxReadRequestSize(String value) API name:max_read_request_sizemaxRetryDelay(Time value) API name:max_retry_delayAPI name:max_retry_delaymaxWriteBufferCount(Long value) API name:max_write_buffer_countmaxWriteBufferSize(String value) API name:max_write_buffer_sizeAPI name:max_write_request_operation_countmaxWriteRequestSize(String value) API name:max_write_request_sizereadPollTimeout(Time value) API name:read_poll_timeoutAPI name:read_poll_timeoutprotected ResumeFollowRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
masterTimeout
public final ResumeFollowRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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 -
maxRetryDelay
public final ResumeFollowRequest.Builder maxRetryDelay(Function<Time.Builder, ObjectBuilder<Time>> fn) 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 -
readPollTimeout
public final ResumeFollowRequest.Builder readPollTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:read_poll_timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ResumeFollowRequest.Builder>
-
build
Builds aResumeFollowRequest.- Specified by:
buildin interfaceObjectBuilder<ResumeFollowRequest>- Throws:
NullPointerException- if some of the required fields are null.
-