Class ListRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.tasks.ListRequest
- All Implemented Interfaces:
ToCopyableBuilder<ListRequest.Builder,ListRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ListRequest
extends RequestBase
implements ToCopyableBuilder<ListRequest.Builder,ListRequest>
Returns a list of tasks.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<ListRequest, ListResponse, ErrorResponse> Endpoint "tasks.list". -
Method Summary
Modifier and TypeMethodDescriptionactions()A comma-separated list of actions that should be returned.protected voidapplyQueryParameters(Map<String, String> params) static ListRequest.Builderbuilder()final Booleandetailed()Whentrue, the response includes detailed information about shard recoveries.booleanfinal GroupBygroupBy()Groups tasks by parent/child relationships or nodes.inthashCode()nodes()A comma-separated list of node IDs or names used to limit the returned information.static ListRequestfinal StringReturns tasks with a specified parent task ID (node_id:task_number).final Timetimeout()The amount of time to wait for a response.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final BooleanWaits for the matching task to complete.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "tasks.list".
-
-
Method Details
-
of
-
actions
A comma-separated list of actions that should be returned. Keep empty to return all.API name:
actions -
detailed
Whentrue, the response includes detailed information about shard recoveries.API name:
detailed -
groupBy
Groups tasks by parent/child relationships or nodes.API name:
group_by -
nodes
A comma-separated list of node IDs or names used to limit the returned information. Use_localto return information from the node you're connecting to, specify the node name to get information from a specific node, or keep the parameter empty to get information from all nodes.API name:
nodes -
parentTaskId
Returns tasks with a specified parent task ID (node_id:task_number). Keep empty or set to -1 to return all.API name:
parent_task_id -
timeout
The amount of time to wait for a response.API name:
timeout -
waitForCompletion
Waits for the matching task to complete. Whentrue, the request is blocked until the task has completed.API name:
wait_for_completion -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ListRequest.Builder,ListRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-