Class GetTasksRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.tasks.GetTasksRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetTasksRequest.Builder,GetTasksRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetTasksRequest
extends RequestBase
implements ToCopyableBuilder<GetTasksRequest.Builder,GetTasksRequest>
Returns information about a task.
-
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<GetTasksRequest, GetTasksResponse, ErrorResponse> Endpoint "tasks.get". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static GetTasksRequest.Builderbuilder()booleaninthashCode()static GetTasksRequestfinal StringtaskId()Required - The task ID.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.get".
-
-
Method Details
-
of
public static GetTasksRequest of(Function<GetTasksRequest.Builder, ObjectBuilder<GetTasksRequest>> fn) -
taskId
Required - The task ID.API name:
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<GetTasksRequest.Builder,GetTasksRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-