Class GetRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.tasks.GetRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetRequest>
- Enclosing class:
- GetRequest
public static class GetRequest.Builder extends java.lang.Object implements ObjectBuilder<GetRequest>
Builder for
GetRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetRequestbuild()Builds aGetRequest.GetRequest.BuildertaskId(java.lang.String value)Required - Return the task with specified id (node_id:task_number)GetRequest.Buildertimeout(java.lang.String value)Explicit operation timeoutGetRequest.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
-
taskId
Required - Return the task with specified id (node_id:task_number)API name:
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 aGetRequest.- Specified by:
buildin interfaceObjectBuilder<GetRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-