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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aResumeFollowRequest
.Required - The name of the follow index to resume following.maxOutstandingReadRequests
(Long value) API name:max_outstanding_read_requests
maxOutstandingWriteRequests
(Long value) API name:max_outstanding_write_requests
maxReadRequestOperationCount
(Long value) API name:max_read_request_operation_count
maxReadRequestSize
(String value) API name:max_read_request_size
maxRetryDelay
(Time value) API name:max_retry_delay
API name:max_retry_delay
maxWriteBufferCount
(Long value) API name:max_write_buffer_count
maxWriteBufferSize
(String value) API name:max_write_buffer_size
API name:max_write_request_operation_count
maxWriteRequestSize
(String value) API name:max_write_request_size
readPollTimeout
(Time value) API name:read_poll_timeout
API name:read_poll_timeout
protected ResumeFollowRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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
-
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:
self
in classRequestBase.AbstractBuilder<ResumeFollowRequest.Builder>
-
build
Builds aResumeFollowRequest
.- Specified by:
build
in interfaceObjectBuilder<ResumeFollowRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-