Class ListRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ListRequest.Builder>
co.elastic.clients.elasticsearch.tasks.ListRequest.Builder
- All Implemented Interfaces:
WithJson<ListRequest.Builder>,ObjectBuilder<ListRequest>
- Enclosing class:
- ListRequest
public static class ListRequest.Builder
extends RequestBase.AbstractBuilder<ListRequest.Builder>
implements ObjectBuilder<ListRequest>
Builder for
ListRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ListRequest.BuilderA comma-separated list of actions that should be returned.final ListRequest.BuilderA comma-separated list of actions that should be returned.build()Builds aListRequest.final ListRequest.BuilderReturn detailed task information (default: false)final ListRequest.BuilderGroup tasks by nodes or parent/child relationshipsfinal ListRequest.BuilderA comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesfinal ListRequest.BuilderA comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesfinal ListRequest.BuilderparentTaskId(String value) Return tasks with specified parent task id (node_id:task_number).protected ListRequest.Builderself()final ListRequest.BuilderExplicit operation timeoutfinal ListRequest.BuilderExplicit operation timeoutfinal ListRequest.BuilderwaitForCompletion(Boolean value) Wait for the matching tasks to complete (default: false)Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
A comma-separated list of actions that should be returned. Leave empty to return all.API name:
actionsAdds all elements of
listtoactions. -
actions
A comma-separated list of actions that should be returned. Leave empty to return all.API name:
actionsAdds one or more values to
actions. -
detailed
Return detailed task information (default: false)API name:
detailed -
groupBy
Group tasks by nodes or parent/child relationshipsAPI name:
group_by -
nodes
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
nodesAdds all elements of
listtonodes. -
nodes
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
nodesAdds one or more values to
nodes. -
parentTaskId
Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.API name:
parent_task_id -
timeout
Explicit operation timeoutAPI name:
timeout -
timeout
Explicit operation timeoutAPI name:
timeout -
waitForCompletion
Wait for the matching tasks to complete (default: false)API name:
wait_for_completion -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ListRequest.Builder>
-
build
Builds aListRequest.- Specified by:
buildin interfaceObjectBuilder<ListRequest>- Throws:
NullPointerException- if some of the required fields are null.
-