Class GetTaskRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.ml.GetTaskRequest
-
@Generated("org.opensearch.client.codegen.CodeGenerator") public class GetTaskRequest extends RequestBase
Retrieves a task.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetTaskRequest.Builder
Builder forGetTaskRequest
.-
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<GetTaskRequest,GetTaskResponse,ErrorResponse>
_ENDPOINT
Endpoint "ml.get_task
".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTaskRequest
of(java.util.function.Function<GetTaskRequest.Builder,ObjectBuilder<GetTaskRequest>> fn)
java.lang.String
taskId()
Required - API name:task_id
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<GetTaskRequest,GetTaskResponse,ErrorResponse> _ENDPOINT
Endpoint "ml.get_task
".
-
-
Method Detail
-
of
public static GetTaskRequest of(java.util.function.Function<GetTaskRequest.Builder,ObjectBuilder<GetTaskRequest>> fn)
-
taskId
public final java.lang.String taskId()
Required - API name:task_id
-
-