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>
protected abstract static class AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>> extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
Modifier and Type Method Description BuilderT
response(AsyncSearch<TDocument> value)
Required - API name:response
BuilderT
response(java.util.function.Function<AsyncSearch.Builder<TDocument>,ObjectBuilder<AsyncSearch<TDocument>>> fn)
Required - API name:response
BuilderT
tDocumentSerializer(JsonpSerializer<TDocument> value)
Serializer for TDocument.Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder
expirationTimeInMillis, id, isPartial, isRunning, self, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
response
Required - API name:response
-
response
public final BuilderT response(java.util.function.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.
-