Class GetAsyncSearchResponse.Builder<TDocument>
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,GetAsyncSearchResponse.Builder<TDocument>>
co.elastic.clients.elasticsearch.async_search.GetAsyncSearchResponse.Builder<TDocument>
- All Implemented Interfaces:
WithJson<GetAsyncSearchResponse.Builder<TDocument>>,ObjectBuilder<GetAsyncSearchResponse<TDocument>>
- Enclosing class:
- GetAsyncSearchResponse<TDocument>
public static class GetAsyncSearchResponse.Builder<TDocument>
extends AsyncSearchDocumentResponseBase.AbstractBuilder<TDocument,GetAsyncSearchResponse.Builder<TDocument>>
implements ObjectBuilder<GetAsyncSearchResponse<TDocument>>
Builder for
GetAsyncSearchResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetAsyncSearchResponse.protected GetAsyncSearchResponse.Builder<TDocument>self()Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchDocumentResponseBase.AbstractBuilder
response, response, tDocumentSerializerMethods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder
completionTime, completionTimeInMillis, expirationTime, expirationTimeInMillis, id, isPartial, isRunning, startTime, startTimeInMillisMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
selfin classAsyncSearchResponseBase.AbstractBuilder<GetAsyncSearchResponse.Builder<TDocument>>
-
build
Builds aGetAsyncSearchResponse.- Specified by:
buildin interfaceObjectBuilder<TDocument>- Throws:
NullPointerException- if some of the required fields are null.
-