Class TasksRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<TasksRequest.Builder>
org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder<TasksRequest.Builder>
org.opensearch.client.opensearch.cat.TasksRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<TasksRequest.Builder,,TasksRequest> MutableBuilder<TasksRequest.Builder,,TasksRequest> ObjectBuilder<TasksRequest>
- Enclosing class:
TasksRequest
public static class TasksRequest.Builder
extends CatRequestBase.AbstractBuilder<TasksRequest.Builder>
implements CopyableBuilder<TasksRequest.Builder,TasksRequest>
Builder for
TasksRequest.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal TasksRequest.BuilderThe task action names used to limit the response.final TasksRequest.BuilderThe task action names used to limit the response.build()Builds aTasksRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.final TasksRequest.BuilderIftrue, the response includes detailed information about shard recoveries.final TasksRequest.BuilderA comma-separated list of node IDs or names used to limit the returned information.final TasksRequest.BuilderA comma-separated list of node IDs or names used to limit the returned information.final TasksRequest.BuilderparentTaskId(String value) The parent task identifier, which is used to limit the response.protected TasksRequest.Builderself()final TasksRequest.BuilderSpecifies the time units, for example,5dor7h.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, headers, sort, sortMethods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<TasksRequest.Builder,TasksRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<TasksRequest.Builder>
-
actions
The task action names used to limit the response.API name:
actionsAdds all elements of
listtoactions. -
actions
The task action names used to limit the response.API name:
actionsAdds one or more values to
actions. -
detailed
Iftrue, the response includes detailed information about shard recoveries.API name:
detailed -
nodes
A comma-separated list of node IDs or names used to limit the returned information. Use_localto return information from the node to which you're connecting, specify a specific node from which to get information, or keep the parameter empty to get information from all nodes.API name:
nodesAdds all elements of
listtonodes. -
nodes
A comma-separated list of node IDs or names used to limit the returned information. Use_localto return information from the node to which you're connecting, specify a specific node from which to get information, or keep the parameter empty to get information from all nodes.API name:
nodesAdds one or more values to
nodes. -
parentTaskId
The parent task identifier, which is used to limit the response.API name:
parent_task_id -
time
Specifies the time units, for example,5dor7h. For more information, see Supported units.API name:
time -
build
Builds aTasksRequest.- Specified by:
buildin interfaceObjectBuilder<TasksRequest>- Throws:
NullPointerException- if some of the required fields are null.
-