Class ListRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.tasks.ListRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ListRequest>
- Enclosing class:
- ListRequest
public static class ListRequest.Builder extends java.lang.Object implements ObjectBuilder<ListRequest>
Builder for
ListRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ListRequest.Builderactions(java.lang.String... value)A comma-separated list of actions that should be returned.ListRequest.Builderactions(java.util.List<java.lang.String> value)A comma-separated list of actions that should be returned.ListRequest.BuilderaddActions(java.lang.String value)Add a value toactions(List), creating the list if needed.ListRequest.BuilderaddNodes(java.lang.String value)Add a value tonodes(List), creating the list if needed.ListRequestbuild()Builds aListRequest.ListRequest.Builderdetailed(java.lang.Boolean value)Return detailed task information (default: false)ListRequest.BuildergroupBy(GroupBy value)Group tasks by nodes or parent/child relationshipsListRequest.Buildernodes(java.lang.String... value)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 nodesListRequest.Buildernodes(java.util.List<java.lang.String> value)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 nodesListRequest.BuilderparentTaskId(java.lang.String value)Return tasks with specified parent task id (node_id:task_number).ListRequest.Buildertimeout(java.lang.String value)Explicit operation timeoutListRequest.BuilderwaitForCompletion(java.lang.Boolean value)Wait for the matching tasks to complete (default: false)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
actions -
actions
A comma-separated list of actions that should be returned. Leave empty to return all.API name:
actions -
addActions
Add a value toactions(List), creating the list if needed. -
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:
nodes -
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:
nodes -
addNodes
Add a value tonodes(List), creating the list if needed. -
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 -
waitForCompletion
Wait for the matching tasks to complete (default: false)API name:
wait_for_completion -
build
Builds aListRequest.- Specified by:
buildin interfaceObjectBuilder<ListRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-