Class PendingTasksRecord
java.lang.Object
org.opensearch.client.opensearch.cat.pending_tasks.PendingTasksRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PendingTasksRecord.Builder,PendingTasksRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PendingTasksRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<PendingTasksRecord.Builder,PendingTasksRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PendingTasksRecord> Json deserializer forPendingTasksRecord -
Method Summary
Modifier and TypeMethodDescriptionstatic PendingTasksRecord.Builderbuilder()booleaninthashCode()final StringThe task insertion order.static PendingTasksRecordfinal Stringpriority()The task priority.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 Stringsource()The task source.final StringIndicates how long the task has been in queue.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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 forPendingTasksRecord
-
-
Method Details
-
of
public static PendingTasksRecord of(Function<PendingTasksRecord.Builder, ObjectBuilder<PendingTasksRecord>> fn) -
insertOrder
The task insertion order.API name:
insertOrder -
priority
The task priority.API name:
priority -
source
The task source.API name:
source -
timeInQueue
Indicates how long the task has been in queue.API name:
timeInQueue -
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<PendingTasksRecord.Builder,PendingTasksRecord> - Returns:
- a new builder instance.
-
builder
-
setupPendingTasksRecordDeserializer
protected static void setupPendingTasksRecordDeserializer(ObjectDeserializer<PendingTasksRecord.Builder> op) -
hashCode
public int hashCode() -
equals
-