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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal TasksRecord.BuilderThe task action.build()Builds aTasksRecord.final TasksRecord.Builderdescription(String value) The task action description.final TasksRecord.BuilderThe identifier of the task with the node.final TasksRecord.BuilderThe IP address for the node.final TasksRecord.BuilderThe node name.final TasksRecord.BuilderThe unique node identifier.final TasksRecord.BuilderparentTaskId(String value) The parent task identifier.final TasksRecord.BuilderThe bound transport port for the node.final TasksRecord.BuilderrunningTime(String value) The running time.final TasksRecord.BuilderrunningTimeNs(String value) The running time in nanoseconds.protected TasksRecord.Builderself()final TasksRecord.BuilderThe start time in milliseconds.final TasksRecord.BuilderThe unique task identifier.final TasksRecord.BuilderThe start time inHH:MM:SSformat.final TasksRecord.BuilderThe task type.final TasksRecord.BuilderThe Elasticsearch version.final TasksRecord.BuilderThe X-Opaque-ID header.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
-
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:SSformat.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:
selfin classWithJsonObjectBuilderBase<TasksRecord.Builder>
-
build
Builds aTasksRecord.- Specified by:
buildin interfaceObjectBuilder<TasksRecord>- Throws:
NullPointerException- if some of the required fields are null.
-