Class GetTasksRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.tasks.GetTasksRequest
-
public class GetTasksRequest extends RequestBase
Returns information about a task.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTasksRequest.BuilderBuilder forGetTasksRequest.-
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<GetTasksRequest,GetTasksResponse,ErrorResponse>_ENDPOINTEndpoint "tasks.get".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTasksRequestof(java.util.function.Function<GetTasksRequest.Builder,ObjectBuilder<GetTasksRequest>> fn)java.lang.StringtaskId()Required - Return the task with specified id (node_id:task_number)Timetimeout()Explicit operation timeoutjava.lang.BooleanwaitForCompletion()Wait for the matching tasks to complete (default: false)
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<GetTasksRequest,GetTasksResponse,ErrorResponse> _ENDPOINT
Endpoint "tasks.get".
-
-
Method Detail
-
of
public static GetTasksRequest of(java.util.function.Function<GetTasksRequest.Builder,ObjectBuilder<GetTasksRequest>> fn)
-
taskId
public final java.lang.String taskId()
Required - Return the task with specified id (node_id:task_number)API name:
task_id
-
timeout
@Nullable public final Time timeout()
Explicit operation timeoutAPI name:
timeout
-
waitForCompletion
@Nullable public final java.lang.Boolean waitForCompletion()
Wait for the matching tasks to complete (default: false)API name:
wait_for_completion
-
-