Class GetReindexRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.GetReindexRequest
Get a reindex task.
Get the status and progress of a specific reindex task.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetReindexRequest,GetReindexResponse, ErrorResponse> Endpoint "get_reindex". -
Method Summary
Modifier and TypeMethodDescriptionstatic GetReindexRequestrebuild()final StringtaskId()Required - The ID of the reindex task to retrieve.final Timetimeout()The period to wait for the reindex task to complete whenwait_for_completionistrue.final BooleanIftrue, the request blocks until the reindex task completes, then returns the result.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "get_reindex".
-
-
Method Details
-
of
public static GetReindexRequest of(Function<GetReindexRequest.Builder, ObjectBuilder<GetReindexRequest>> fn) -
taskId
Required - The ID of the reindex task to retrieve.API name:
task_id -
timeout
The period to wait for the reindex task to complete whenwait_for_completionistrue.API name:
timeout -
waitForCompletion
Iftrue, the request blocks until the reindex task completes, then returns the result.API name:
wait_for_completion -
rebuild
- Returns:
- New
GetReindexRequest.Builderinitialized with field values of this instance
-