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 BuilderT
Required - API name:action
final BuilderT
cancellable
(boolean value) Required - API name:cancellable
final BuilderT
API name:cancelled
final BuilderT
description
(String value) Human readable text that identifies the particular request that the task is performing.final BuilderT
Required - API name:headers
final BuilderT
Required - API name:headers
final BuilderT
id
(long value) Required - API name:id
final BuilderT
Required - API name:node
final BuilderT
parentTaskId
(String value) API name:parent_task_id
final BuilderT
runningTime
(Time value) API name:running_time
final BuilderT
API name:running_time
final BuilderT
runningTimeInNanos
(long value) Required - API name:running_time_in_nanos
protected abstract BuilderT
self()
final BuilderT
startTimeInMillis
(long value) Required - API name:start_time_in_millis
final BuilderT
The internal status of the task, which varies from task to task.final BuilderT
Required - API name:type
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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_reindex
which has the source and the destination, or_bulk
which 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:headers
Adds all entries of
map
toheaders
. -
headers
Required - API name:headers
Adds 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:
self
in classWithJsonObjectBuilderBase<BuilderT extends TaskInfo.AbstractBuilder<BuilderT>>
-