Class TasksRecord
java.lang.Object
org.opensearch.client.opensearch.cat.tasks.TasksRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<TasksRecord.Builder,TasksRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class TasksRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<TasksRecord.Builder,TasksRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TasksRecord> Json deserializer forTasksRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringaction()The task action.static TasksRecord.Builderbuilder()final StringThe task action description.booleaninthashCode()final Stringid()API name:idfinal Stringip()The IP address for the node.final Stringnode()The node name.final StringnodeId()API name:node_idstatic TasksRecordfinal StringThe parent task identifier.final Stringport()The bound transport port for the node.final StringThe running time.final StringThe running time in nanoseconds.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe start time in milliseconds.final StringtaskId()API name:task_idfinal StringThe start time inHH:MM:SSformat.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()The task type.final Stringversion()API name:versionfinal StringThe X-Opaque-ID header.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forTasksRecord
-
-
Method Details
-
of
-
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 -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TasksRecord.Builder,TasksRecord> - Returns:
- a new builder instance.
-
builder
-
setupTasksRecordDeserializer
-
hashCode
public int hashCode() -
equals
-