Class ReindexRethrottleRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch._core.ReindexRethrottleRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ReindexRethrottleRequest>
- Enclosing class:
- ReindexRethrottleRequest
public static class ReindexRethrottleRequest.Builder extends java.lang.Object implements ObjectBuilder<ReindexRethrottleRequest>
Builder for
ReindexRethrottleRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ReindexRethrottleRequestbuild()Builds aReindexRethrottleRequest.ReindexRethrottleRequest.BuilderrequestsPerSecond(java.lang.Long value)The throttle to set on this request in floating sub-requests per second.ReindexRethrottleRequest.BuildertaskId(java.lang.String value)Required - The task id to rethrottleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
taskId
Required - The task id to rethrottleAPI name:
task_id -
requestsPerSecond
The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.API name:
requests_per_second -
build
Builds aReindexRethrottleRequest.- Specified by:
buildin interfaceObjectBuilder<ReindexRethrottleRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-