Class TaskInfo.AbstractBuilder<BuilderT extends TaskInfo.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.tasks.TaskInfo.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
ParentTaskInfo.Builder,TaskInfo.Builder
- Enclosing class:
- TaskInfo
public abstract static class TaskInfo.AbstractBuilder<BuilderT extends TaskInfo.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTRequired - API name:actionfinal BuilderTcancellable(boolean value) Required - API name:cancellablefinal BuilderTAPI name:cancelledfinal BuilderTdescription(String value) Human readable text that identifies the particular request that the task is performing.final BuilderTRequired - API name:headersfinal BuilderTRequired - API name:headersfinal BuilderTid(long value) Required - API name:idfinal BuilderTRequired - API name:nodefinal BuilderTparentTaskId(String value) API name:parent_task_idfinal BuilderTrunningTime(Time value) API name:running_timefinal BuilderTAPI name:running_timefinal BuilderTrunningTimeInNanos(long value) Required - API name:running_time_in_nanosprotected abstract BuilderTself()final BuilderTstartTimeInMillis(long value) Required - API name:start_time_in_millisfinal BuilderTThe internal status of the task, which varies from task to task.final BuilderTRequired - API name:typeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
action
Required - API name:action -
cancelled
API name:cancelled -
cancellable
Required - API name:cancellable -
description
Human readable text that identifies the particular request that the task is performing. For example, it might identify the search request being performed by a search task. Other kinds of tasks have different descriptions, like_reindexwhich has the source and the destination, or_bulkwhich just has the number of requests and the destination indices. Many requests will have only an empty description because more detailed information about the request is not easily available or particularly helpful in identifying the request.API name:
description -
headers
Required - API name:headersAdds all entries of
maptoheaders. -
headers
Required - API name:headersAdds an entry to
headers. -
id
Required - API name:id -
node
Required - API name:node -
runningTime
API name:running_time -
runningTime
API name:running_time -
runningTimeInNanos
Required - API name:running_time_in_nanos -
startTimeInMillis
Required - API name:start_time_in_millis -
status
The internal status of the task, which varies from task to task. The format also varies. While the goal is to keep the status for a particular task consistent from version to version, this is not always possible because sometimes the implementation changes. Fields might be removed from the status for a particular request so any parsing you do of the status might break in minor releases.API name:
status -
type
Required - API name:type -
parentTaskId
API name:parent_task_id -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends TaskInfo.AbstractBuilder<BuilderT>>
-