Class DeleteByQueryRethrottleRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteByQueryRethrottleRequest.Builder>
co.elastic.clients.elasticsearch.core.DeleteByQueryRethrottleRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteByQueryRethrottleRequest.Builder>,ObjectBuilder<DeleteByQueryRethrottleRequest>
- Enclosing class:
- DeleteByQueryRethrottleRequest
public static class DeleteByQueryRethrottleRequest.Builder
extends RequestBase.AbstractBuilder<DeleteByQueryRethrottleRequest.Builder>
implements ObjectBuilder<DeleteByQueryRethrottleRequest>
Builder for
DeleteByQueryRethrottleRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteByQueryRethrottleRequest.requestsPerSecond(Long value) The throttle to set on this request in floating sub-requests per second.protected DeleteByQueryRethrottleRequest.Builderself()Required - The task id to rethrottleMethods 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
-
requestsPerSecond
The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.API name:
requests_per_second -
taskId
Required - The task id to rethrottleAPI name:
task_id -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteByQueryRethrottleRequest.Builder>
-
build
Builds aDeleteByQueryRethrottleRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteByQueryRethrottleRequest>- Throws:
NullPointerException- if some of the required fields are null.
-