Class TasksRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TasksRecord.Builder>
co.elastic.clients.elasticsearch.cat.tasks.TasksRecord.Builder
- All Implemented Interfaces:
WithJson<TasksRecord.Builder>
,ObjectBuilder<TasksRecord>
- Enclosing class:
- TasksRecord
public static class TasksRecord.Builder
extends WithJsonObjectBuilderBase<TasksRecord.Builder>
implements ObjectBuilder<TasksRecord>
Builder for
TasksRecord
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal TasksRecord.Builder
The task action.build()
Builds aTasksRecord
.final TasksRecord.Builder
description
(String value) The task action description.final TasksRecord.Builder
The identifier of the task with the node.final TasksRecord.Builder
The IP address for the node.final TasksRecord.Builder
The node name.final TasksRecord.Builder
The unique node identifier.final TasksRecord.Builder
parentTaskId
(String value) The parent task identifier.final TasksRecord.Builder
The bound transport port for the node.final TasksRecord.Builder
runningTime
(String value) The running time.final TasksRecord.Builder
runningTimeNs
(String value) The running time in nanoseconds.protected TasksRecord.Builder
self()
final TasksRecord.Builder
The start time in milliseconds.final TasksRecord.Builder
The unique task identifier.final TasksRecord.Builder
The start time inHH:MM:SS
format.final TasksRecord.Builder
The task type.final TasksRecord.Builder
The Elasticsearch version.final TasksRecord.Builder
The X-Opaque-ID header.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
-
Builder
public Builder()
-
-
Method Details
-
id
The identifier of the task with the node.API name:
id
-
action
The task action.API name:
action
-
taskId
The unique task identifier.API name:
task_id
-
parentTaskId
The parent task identifier.API name:
parent_task_id
-
type
The task type.API name:
type
-
startTime
The start time in milliseconds.API name:
start_time
-
timestamp
The start time inHH:MM:SS
format.API name:
timestamp
-
runningTimeNs
The running time in nanoseconds.API name:
running_time_ns
-
runningTime
The running time.API name:
running_time
-
nodeId
The unique node identifier.API name:
node_id
-
ip
The IP address for the node.API name:
ip
-
port
The bound transport port for the node.API name:
port
-
node
The node name.API name:
node
-
version
The Elasticsearch version.API name:
version
-
xOpaqueId
The X-Opaque-ID header.API name:
x_opaque_id
-
description
The task action description.API name:
description
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<TasksRecord.Builder>
-
build
Builds aTasksRecord
.- Specified by:
build
in interfaceObjectBuilder<TasksRecord>
- Throws:
NullPointerException
- if some of the required fields are null.
-