Class AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>>
java.lang.Object
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,BuilderT>
- Direct Known Subclasses:
GetResponse.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 protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderTresponse(AsyncSearch<TDocument> value)Required - API name:responseBuilderTresponse(java.util.function.Function<AsyncSearch.Builder<TDocument>,ObjectBuilder<AsyncSearch<TDocument>>> fn)Required - API name:responseBuilderTtDocumentSerializer(JsonpSerializer<TDocument> value)Serializer for TDocument.Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder
expirationTimeInMillis, id, isPartial, isRunning, self, startTimeInMillisMethods 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 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.
-