Class AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
GetAsyncSearchResponse.Builder
,SubmitResponse.Builder
- Enclosing class:
- AsyncSearchDocumentResponseBase<TDocument>
public abstract static class AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>>
extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>
-
Constructor Summary
-
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder
completionTime, completionTimeInMillis, expirationTime, expirationTimeInMillis, id, isPartial, isRunning, self, startTime, startTimeInMillis
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
response
Required - API name:response
-
response
public final BuilderT response(Function<AsyncSearch.Builder<TDocument>, ObjectBuilder<AsyncSearch<TDocument>>> fn) Required - API name:response
-
tDocumentSerializer
Serializer for TDocument. If not set, an attempt will be made to find a serializer from the JSON context.
-