Class GetTasksRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetTasksRequest.Builder>
co.elastic.clients.elasticsearch.tasks.GetTasksRequest.Builder
- All Implemented Interfaces:
- WithJson<GetTasksRequest.Builder>,- ObjectBuilder<GetTasksRequest>
- Enclosing class:
- GetTasksRequest
public static class GetTasksRequest.Builder
extends RequestBase.AbstractBuilder<GetTasksRequest.Builder>
implements ObjectBuilder<GetTasksRequest>
Builder for 
GetTasksRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aGetTasksRequest.protected GetTasksRequest.Builderself()final GetTasksRequest.BuilderRequired - The task identifier.final GetTasksRequest.BuilderThe period to wait for a response.final GetTasksRequest.BuilderThe period to wait for a response.final GetTasksRequest.BuilderwaitForCompletion(Boolean value) Iftrue, the request blocks until the task has completed.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
taskIdRequired - The task identifier.API name: task_id
- 
timeoutThe period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
timeoutThe period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
waitForCompletionIftrue, the request blocks until the task has completed.API name: wait_for_completion
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<GetTasksRequest.Builder>
 
- 
buildBuilds aGetTasksRequest.- Specified by:
- buildin interface- ObjectBuilder<GetTasksRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-