Class FollowerIndexParameters.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FollowerIndexParameters.Builder>
co.elastic.clients.elasticsearch.ccr.follow_info.FollowerIndexParameters.Builder
- All Implemented Interfaces:
WithJson<FollowerIndexParameters.Builder>
,ObjectBuilder<FollowerIndexParameters>
- Enclosing class:
- FollowerIndexParameters
public static class FollowerIndexParameters.Builder
extends WithJsonObjectBuilderBase<FollowerIndexParameters.Builder>
implements ObjectBuilder<FollowerIndexParameters>
Builder for
FollowerIndexParameters
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aFollowerIndexParameters
.maxOutstandingReadRequests
(int value) Required - API name:max_outstanding_read_requests
maxOutstandingWriteRequests
(int value) Required - API name:max_outstanding_write_requests
maxReadRequestOperationCount
(int value) Required - API name:max_read_request_operation_count
maxReadRequestSize
(String value) Required - API name:max_read_request_size
maxRetryDelay
(Time value) Required - API name:max_retry_delay
Required - API name:max_retry_delay
maxWriteBufferCount
(int value) Required - API name:max_write_buffer_count
maxWriteBufferSize
(String value) Required - API name:max_write_buffer_size
maxWriteRequestOperationCount
(int value) Required - API name:max_write_request_operation_count
maxWriteRequestSize
(String value) Required - API name:max_write_request_size
readPollTimeout
(Time value) Required - API name:read_poll_timeout
Required - API name:read_poll_timeout
protected FollowerIndexParameters.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
-
maxOutstandingReadRequests
Required - API name:max_outstanding_read_requests
-
maxOutstandingWriteRequests
Required - API name:max_outstanding_write_requests
-
maxReadRequestOperationCount
Required - API name:max_read_request_operation_count
-
maxReadRequestSize
Required - API name:max_read_request_size
-
maxRetryDelay
Required - API name:max_retry_delay
-
maxRetryDelay
public final FollowerIndexParameters.Builder maxRetryDelay(Function<Time.Builder, ObjectBuilder<Time>> fn) Required - API name:max_retry_delay
-
maxWriteBufferCount
Required - API name:max_write_buffer_count
-
maxWriteBufferSize
Required - API name:max_write_buffer_size
-
maxWriteRequestOperationCount
Required - API name:max_write_request_operation_count
-
maxWriteRequestSize
Required - API name:max_write_request_size
-
readPollTimeout
Required - API name:read_poll_timeout
-
readPollTimeout
public final FollowerIndexParameters.Builder readPollTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Required - API name:read_poll_timeout
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FollowerIndexParameters.Builder>
-
build
Builds aFollowerIndexParameters
.- Specified by:
build
in interfaceObjectBuilder<FollowerIndexParameters>
- Throws:
NullPointerException
- if some of the required fields are null.
-