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(Float value) The throttle for this request in sub-requests per second.protected DeleteByQueryRethrottleRequest.Builderself()Required - The ID for the task.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
-
requestsPerSecond
The throttle for this request in sub-requests per second. To disable throttling, set it to-1.API name:
requests_per_second -
taskId
Required - The ID for the task.API 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.
-