Class DeleteByQueryRethrottleRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.core.DeleteByQueryRethrottleRequest
-
public class DeleteByQueryRethrottleRequest extends RequestBase
Changes the number of requests per second for a particular Delete By Query operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteByQueryRethrottleRequest.BuilderBuilder forDeleteByQueryRethrottleRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeleteByQueryRethrottleRequest,DeleteByQueryRethrottleResponse,ErrorResponse>_ENDPOINTEndpoint "delete_by_query_rethrottle".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteByQueryRethrottleRequestof(java.util.function.Function<DeleteByQueryRethrottleRequest.Builder,ObjectBuilder<DeleteByQueryRethrottleRequest>> fn)java.lang.LongrequestsPerSecond()The throttle to set on this request in floating sub-requests per second.java.lang.StringtaskId()Required - The task id to rethrottle
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<DeleteByQueryRethrottleRequest,DeleteByQueryRethrottleResponse,ErrorResponse> _ENDPOINT
Endpoint "delete_by_query_rethrottle".
-
-
Method Detail
-
of
public static DeleteByQueryRethrottleRequest of(java.util.function.Function<DeleteByQueryRethrottleRequest.Builder,ObjectBuilder<DeleteByQueryRethrottleRequest>> fn)
-
requestsPerSecond
@Nullable public final java.lang.Long 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
public final java.lang.String taskId()
Required - The task id to rethrottleAPI name:
task_id
-
-