Class TasksRecord.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cat.tasks.TasksRecord.Builder
- All Implemented Interfaces:
CopyableBuilder<TasksRecord.Builder,,TasksRecord> MutableBuilder<TasksRecord.Builder,,TasksRecord> ObjectBuilder<TasksRecord>
- Enclosing class:
TasksRecord
public static class TasksRecord.Builder
extends ObjectBuilderBase
implements CopyableBuilder<TasksRecord.Builder,TasksRecord>
Builder for
TasksRecord.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal TasksRecord.BuilderThe task action.build()Builds aTasksRecord.copy()Create a new builderCopyableBuilderthat is a copy of this one.final TasksRecord.Builderdescription(String value) The task action description.final TasksRecord.BuilderAPI name:idfinal TasksRecord.BuilderThe IP address for the node.final TasksRecord.BuilderThe node name.final TasksRecord.BuilderAPI name:node_idfinal 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.final TasksRecord.BuilderThe start time in milliseconds.final TasksRecord.BuilderAPI name:task_idfinal TasksRecord.BuilderThe start time inHH:MM:SSformat.final TasksRecord.BuilderThe task type.final TasksRecord.BuilderAPI name:versionfinal TasksRecord.BuilderThe X-Opaque-ID header.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<TasksRecord.Builder,TasksRecord> - Returns:
- a new builder instance.
-
action
The task action.API name:
action -
description
The task action description.API name:
description -
id
API name:id -
ip
The IP address for the node.API name:
ip -
node
The node name.API name:
node -
nodeId
API name:node_id -
parentTaskId
The parent task identifier.API name:
parent_task_id -
port
The bound transport port for the node.API name:
port -
runningTime
The running time.API name:
running_time -
runningTimeNs
The running time in nanoseconds.API name:
running_time_ns -
startTime
The start time in milliseconds.API name:
start_time -
taskId
API name:task_id -
timestamp
The start time inHH:MM:SSformat.API name:
timestamp -
type
The task type.API name:
type -
version
API name:version -
xOpaqueId
The X-Opaque-ID header.API name:
x_opaque_id -
build
Builds aTasksRecord.- Specified by:
buildin interfaceObjectBuilder<TasksRecord>- Throws:
NullPointerException- if some of the required fields are null.
-