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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ResumeFollowRequestbuild()Builds aResumeFollowRequest.ResumeFollowRequest.Builderindex(java.lang.String value)Required - The name of the follow index to resume following.ResumeFollowRequest.BuildermaxOutstandingReadRequests(java.lang.Long value)API name:max_outstanding_read_requestsResumeFollowRequest.BuildermaxOutstandingWriteRequests(java.lang.Long value)API name:max_outstanding_write_requestsResumeFollowRequest.BuildermaxReadRequestOperationCount(java.lang.Long value)API name:max_read_request_operation_countResumeFollowRequest.BuildermaxReadRequestSize(java.lang.String value)API name:max_read_request_sizeResumeFollowRequest.BuildermaxRetryDelay(Time value)API name:max_retry_delayResumeFollowRequest.BuildermaxRetryDelay(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:max_retry_delayResumeFollowRequest.BuildermaxWriteBufferCount(java.lang.Long value)API name:max_write_buffer_countResumeFollowRequest.BuildermaxWriteBufferSize(java.lang.String value)API name:max_write_buffer_sizeResumeFollowRequest.BuildermaxWriteRequestOperationCount(java.lang.Long value)API name:max_write_request_operation_countResumeFollowRequest.BuildermaxWriteRequestSize(java.lang.String value)API name:max_write_request_sizeResumeFollowRequest.BuilderreadPollTimeout(Time value)API name:read_poll_timeoutResumeFollowRequest.BuilderreadPollTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API 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, _mapPutAllMethods 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 follow index to resume following.API name:
index -
maxOutstandingReadRequests
public final ResumeFollowRequest.Builder maxOutstandingReadRequests(@Nullable java.lang.Long value)API name:max_outstanding_read_requests -
maxOutstandingWriteRequests
public final ResumeFollowRequest.Builder maxOutstandingWriteRequests(@Nullable java.lang.Long value)API name:max_outstanding_write_requests -
maxReadRequestOperationCount
public final ResumeFollowRequest.Builder maxReadRequestOperationCount(@Nullable java.lang.Long value)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(java.util.function.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
public final ResumeFollowRequest.Builder maxWriteRequestOperationCount(@Nullable java.lang.Long value)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(java.util.function.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:
java.lang.NullPointerException- if some of the required fields are null.
-