Class TasksRecord.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cat.tasks.TasksRecord.Builder
-
- All Implemented Interfaces:
ObjectBuilder<TasksRecord>
- Enclosing class:
- TasksRecord
public static class TasksRecord.Builder extends ObjectBuilderBase implements ObjectBuilder<TasksRecord>
Builder forTasksRecord
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TasksRecord.Builder
action(java.lang.String value)
task actionTasksRecord
build()
Builds aTasksRecord
.TasksRecord.Builder
description(java.lang.String value)
task actionTasksRecord.Builder
id(java.lang.String value)
id of the task with the nodeTasksRecord.Builder
ip(java.lang.String value)
ip addressTasksRecord.Builder
node(java.lang.String value)
node nameTasksRecord.Builder
nodeId(java.lang.String value)
unique node idTasksRecord.Builder
parentTaskId(java.lang.String value)
parent task idTasksRecord.Builder
port(java.lang.String value)
bound transport portTasksRecord.Builder
runningTime(java.lang.String value)
running timeTasksRecord.Builder
runningTimeNs(java.lang.String value)
running time nsTasksRecord.Builder
startTime(java.lang.String value)
start time in msTasksRecord.Builder
taskId(java.lang.String value)
unique task idTasksRecord.Builder
timestamp(java.lang.String value)
start time in HH:MM:SSTasksRecord.Builder
type(java.lang.String value)
task typeTasksRecord.Builder
version(java.lang.String value)
es versionTasksRecord.Builder
xOpaqueId(java.lang.String value)
X-Opaque-ID header-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
id
public final TasksRecord.Builder id(@Nullable java.lang.String value)
id of the task with the nodeAPI name:
id
-
action
public final TasksRecord.Builder action(@Nullable java.lang.String value)
task actionAPI name:
action
-
taskId
public final TasksRecord.Builder taskId(@Nullable java.lang.String value)
unique task idAPI name:
task_id
-
parentTaskId
public final TasksRecord.Builder parentTaskId(@Nullable java.lang.String value)
parent task idAPI name:
parent_task_id
-
type
public final TasksRecord.Builder type(@Nullable java.lang.String value)
task typeAPI name:
type
-
startTime
public final TasksRecord.Builder startTime(@Nullable java.lang.String value)
start time in msAPI name:
start_time
-
timestamp
public final TasksRecord.Builder timestamp(@Nullable java.lang.String value)
start time in HH:MM:SSAPI name:
timestamp
-
runningTimeNs
public final TasksRecord.Builder runningTimeNs(@Nullable java.lang.String value)
running time nsAPI name:
running_time_ns
-
runningTime
public final TasksRecord.Builder runningTime(@Nullable java.lang.String value)
running timeAPI name:
running_time
-
nodeId
public final TasksRecord.Builder nodeId(@Nullable java.lang.String value)
unique node idAPI name:
node_id
-
ip
public final TasksRecord.Builder ip(@Nullable java.lang.String value)
ip addressAPI name:
ip
-
port
public final TasksRecord.Builder port(@Nullable java.lang.String value)
bound transport portAPI name:
port
-
node
public final TasksRecord.Builder node(@Nullable java.lang.String value)
node nameAPI name:
node
-
version
public final TasksRecord.Builder version(@Nullable java.lang.String value)
es versionAPI name:
version
-
xOpaqueId
public final TasksRecord.Builder xOpaqueId(@Nullable java.lang.String value)
X-Opaque-ID headerAPI name:
x_opaque_id
-
description
public final TasksRecord.Builder description(@Nullable java.lang.String value)
task actionAPI name:
description
-
build
public TasksRecord build()
Builds aTasksRecord
.- Specified by:
build
in interfaceObjectBuilder<TasksRecord>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-