Class CancelRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<CancelRequest.Builder>
co.elastic.clients.elasticsearch.tasks.CancelRequest.Builder
- All Implemented Interfaces:
WithJson<CancelRequest.Builder>,ObjectBuilder<CancelRequest>
- Enclosing class:
- CancelRequest
public static class CancelRequest.Builder
extends RequestBase.AbstractBuilder<CancelRequest.Builder>
implements ObjectBuilder<CancelRequest>
Builder for
CancelRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal CancelRequest.BuilderA comma-separated list or wildcard expression of actions that is used to limit the request.final CancelRequest.BuilderA comma-separated list or wildcard expression of actions that is used to limit the request.build()Builds aCancelRequest.final CancelRequest.BuilderA comma-separated list of node IDs or names that is used to limit the request.final CancelRequest.BuilderA comma-separated list of node IDs or names that is used to limit the request.final CancelRequest.BuilderparentTaskId(String value) A parent task ID that is used to limit the tasks.protected CancelRequest.Builderself()final CancelRequest.BuilderThe task identifier.final CancelRequest.BuilderwaitForCompletion(Boolean value) If true, the request blocks until all found tasks are 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
A comma-separated list or wildcard expression of actions that is used to limit the request.API name:
actionsAdds all elements of
listtoactions. -
actions
A comma-separated list or wildcard expression of actions that is used to limit the request.API name:
actionsAdds one or more values to
actions. -
nodes
A comma-separated list of node IDs or names that is used to limit the request.API name:
nodesAdds all elements of
listtonodes. -
nodes
A comma-separated list of node IDs or names that is used to limit the request.API name:
nodesAdds one or more values to
nodes. -
parentTaskId
A parent task ID that is used to limit the tasks.API name:
parent_task_id -
taskId
The task identifier.API name:
task_id -
waitForCompletion
If true, the request blocks until all found tasks are complete.API name:
wait_for_completion -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<CancelRequest.Builder>
-
build
Builds aCancelRequest.- Specified by:
buildin interfaceObjectBuilder<CancelRequest>- Throws:
NullPointerException- if some of the required fields are null.
-