Class GetAsyncSearchRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.async_search.GetAsyncSearchRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetAsyncSearchRequest>
- Enclosing class:
- GetAsyncSearchRequest
public static class GetAsyncSearchRequest.Builder extends java.lang.Object implements ObjectBuilder<GetAsyncSearchRequest>
Builder for
GetAsyncSearchRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetAsyncSearchRequestbuild()Builds aGetAsyncSearchRequest.GetAsyncSearchRequest.Builderid(java.lang.String value)Required - The async search IDGetAsyncSearchRequest.BuilderkeepAlive(java.lang.String value)Specify the time interval in which the results (partial or final) for this search will be availableGetAsyncSearchRequest.BuildertypedKeys(java.lang.Boolean value)Specify whether aggregation and suggester names should be prefixed by their respective types in the responseGetAsyncSearchRequest.BuilderwaitForCompletionTimeout(java.lang.String value)Specify the time that the request should block waiting for the final responseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Required - The async search IDAPI name:
id -
keepAlive
Specify the time interval in which the results (partial or final) for this search will be availableAPI name:
keep_alive -
typedKeys
Specify whether aggregation and suggester names should be prefixed by their respective types in the responseAPI name:
typed_keys -
waitForCompletionTimeout
Specify the time that the request should block waiting for the final responseAPI name:
wait_for_completion_timeout -
build
Builds aGetAsyncSearchRequest.- Specified by:
buildin interfaceObjectBuilder<GetAsyncSearchRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-