Class PendingTask.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PendingTask.Builder>
co.elastic.clients.elasticsearch.cluster.pending_tasks.PendingTask.Builder
- All Implemented Interfaces:
- WithJson<PendingTask.Builder>,- ObjectBuilder<PendingTask>
- Enclosing class:
- PendingTask
public static class PendingTask.Builder
extends WithJsonObjectBuilderBase<PendingTask.Builder>
implements ObjectBuilder<PendingTask>
Builder for 
PendingTask.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aPendingTask.final PendingTask.Builderexecuting(boolean value) Required - Indicates whether the pending tasks are currently executing or not.final PendingTask.BuilderinsertOrder(int value) Required - The number that represents when the task has been inserted into the task queue.final PendingTask.BuilderRequired - The priority of the pending task.protected PendingTask.Builderself()final PendingTask.BuilderRequired - A general description of the cluster task that may include a reason and origin.final PendingTask.BuildertimeInQueue(Time value) The time since the task is waiting for being performed.final PendingTask.BuilderThe time since the task is waiting for being performed.final PendingTask.BuildertimeInQueueMillis(long value) Required - The time expressed in milliseconds since the task is waiting for being performed.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
executingRequired - Indicates whether the pending tasks are currently executing or not.API name: executing
- 
insertOrderRequired - The number that represents when the task has been inserted into the task queue.API name: insert_order
- 
priorityRequired - The priority of the pending task. The valid priorities in descending priority order are:IMMEDIATE>URGENT>HIGH>NORMAL>LOW>LANGUID.API name: priority
- 
sourceRequired - A general description of the cluster task that may include a reason and origin.API name: source
- 
timeInQueueThe time since the task is waiting for being performed.API name: time_in_queue
- 
timeInQueueThe time since the task is waiting for being performed.API name: time_in_queue
- 
timeInQueueMillisRequired - The time expressed in milliseconds since the task is waiting for being performed.API name: time_in_queue_millis
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<PendingTask.Builder>
 
- 
buildBuilds aPendingTask.- Specified by:
- buildin interface- ObjectBuilder<PendingTask>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-