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.BuilderComma-separated list or wildcard expression of actions used to limit the request.final ListRequest.BuilderComma-separated list or wildcard expression of actions used to limit the request.build()Builds aListRequest.final ListRequest.BuilderIftrue, the response includes detailed information about shard recoveries.final ListRequest.BuilderKey used to group tasks in the response.final ListRequest.BuildermasterTimeout(Time value) Period to wait for a connection to the master node.final ListRequest.BuilderPeriod to wait for a connection to the master node.final ListRequest.BuilderComma-separated list of node IDs or names used to limit returned information.final ListRequest.BuilderComma-separated list of node IDs or names used to limit returned information.final ListRequest.BuilderparentTaskId(String value) Parent task ID used to limit returned information.protected ListRequest.Builderself()final ListRequest.BuilderPeriod to wait for a response.final ListRequest.BuilderPeriod to wait for a response.final ListRequest.BuilderwaitForCompletion(Boolean value) Iftrue, the request blocks until the operation is complete.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
Comma-separated list or wildcard expression of actions used to limit the request.API name:
actionsAdds all elements of
listtoactions. -
actions
Comma-separated list or wildcard expression of actions used to limit the request.API name:
actionsAdds one or more values to
actions. -
detailed
Iftrue, the response includes detailed information about shard recoveries.API name:
detailed -
groupBy
Key used to group tasks in the response.API name:
group_by -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
nodeId
Comma-separated list of node IDs or names used to limit returned information.API name:
node_idAdds all elements of
listtonodeId. -
nodeId
Comma-separated list of node IDs or names used to limit returned information.API name:
node_idAdds one or more values to
nodeId. -
parentTaskId
Parent task ID used to limit returned information. To return all tasks, omit this parameter or use a value of-1.API name:
parent_task_id -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
waitForCompletion
Iftrue, the request blocks until the operation is complete.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.
-