Class GetReindexRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetReindexRequest.Builder>
co.elastic.clients.elasticsearch.core.GetReindexRequest.Builder
- All Implemented Interfaces:
WithJson<GetReindexRequest.Builder>,ObjectBuilder<GetReindexRequest>
- Enclosing class:
- GetReindexRequest
public static class GetReindexRequest.Builder
extends RequestBase.AbstractBuilder<GetReindexRequest.Builder>
implements ObjectBuilder<GetReindexRequest>
Builder for
GetReindexRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetReindexRequest.protected GetReindexRequest.Builderself()Required - The ID of the reindex task to retrieve.The period to wait for the reindex task to complete whenwait_for_completionistrue.The period to wait for the reindex task to complete whenwait_for_completionistrue.waitForCompletion(Boolean value) Iftrue, the request blocks until the reindex task completes, then returns the result.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
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 -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetReindexRequest.Builder>
-
build
Builds aGetReindexRequest.- Specified by:
buildin interfaceObjectBuilder<GetReindexRequest>- Throws:
NullPointerException- if some of the required fields are null.
-