Class TaskListResponseBase.AbstractBuilder<BuilderT extends TaskListResponseBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.tasks.TaskListResponseBase.AbstractBuilder<BuilderT>
- Direct Known Subclasses:
CancelResponse.Builder,ListResponse.AbstractBuilder
- Enclosing class:
- TaskListResponseBase
protected abstract static class TaskListResponseBase.AbstractBuilder<BuilderT extends TaskListResponseBase.AbstractBuilder<BuilderT>> extends ObjectBuilderBase
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderTnodeFailures(ErrorCause value, ErrorCause... values)API name:node_failuresBuilderTnodeFailures(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)API name:node_failuresBuilderTnodeFailures(java.util.List<ErrorCause> list)API name:node_failuresBuilderTnodes(java.lang.String key, NodeTasks value)Task information grouped by node, ifgroup_bywas set tonode(the default).BuilderTnodes(java.lang.String key, java.util.function.Function<NodeTasks.Builder,ObjectBuilder<NodeTasks>> fn)Task information grouped by node, ifgroup_bywas set tonode(the default).BuilderTnodes(java.util.Map<java.lang.String,NodeTasks> map)Task information grouped by node, ifgroup_bywas set tonode(the default).protected abstract BuilderTself()BuilderTtaskFailures(TaskFailure value, TaskFailure... values)API name:task_failuresBuilderTtaskFailures(java.util.function.Function<TaskFailure.Builder,ObjectBuilder<TaskFailure>> fn)API name:task_failuresBuilderTtaskFailures(java.util.List<TaskFailure> list)API name:task_failuresBuilderTtasks(TaskInfos value)Either a flat list of tasks ifgroup_bywas set tonone, or grouped by parents ifgroup_bywas set toparents.BuilderTtasks(java.util.function.Function<TaskInfos.Builder,ObjectBuilder<TaskInfos>> fn)Either a flat list of tasks ifgroup_bywas set tonone, or grouped by parents ifgroup_bywas set toparents.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
nodeFailures
API name:node_failuresAdds all elements of
listtonodeFailures. -
nodeFailures
API name:node_failuresAdds one or more values to
nodeFailures. -
nodeFailures
public final BuilderT nodeFailures(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)API name:node_failuresAdds a value to
nodeFailuresusing a builder lambda. -
taskFailures
API name:task_failuresAdds all elements of
listtotaskFailures. -
taskFailures
API name:task_failuresAdds one or more values to
taskFailures. -
taskFailures
public final BuilderT taskFailures(java.util.function.Function<TaskFailure.Builder,ObjectBuilder<TaskFailure>> fn)API name:task_failuresAdds a value to
taskFailuresusing a builder lambda. -
nodes
Task information grouped by node, ifgroup_bywas set tonode(the default).API name:
nodesAdds all entries of
maptonodes. -
nodes
Task information grouped by node, ifgroup_bywas set tonode(the default).API name:
nodesAdds an entry to
nodes. -
nodes
public final BuilderT nodes(java.lang.String key, java.util.function.Function<NodeTasks.Builder,ObjectBuilder<NodeTasks>> fn)Task information grouped by node, ifgroup_bywas set tonode(the default).API name:
nodesAdds an entry to
nodesusing a builder lambda. -
tasks
Either a flat list of tasks ifgroup_bywas set tonone, or grouped by parents ifgroup_bywas set toparents.API name:
tasks -
tasks
public final BuilderT tasks(java.util.function.Function<TaskInfos.Builder,ObjectBuilder<TaskInfos>> fn)Either a flat list of tasks ifgroup_bywas set tonone, or grouped by parents ifgroup_bywas set toparents.API name:
tasks -
self
-