Class MsearchTemplateResponse.Builder<TDocument>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.core.msearch.MultiSearchResult.AbstractBuilder<TDocument,MsearchTemplateResponse.Builder<TDocument>>
co.elastic.clients.elasticsearch.core.MsearchTemplateResponse.Builder<TDocument>
- All Implemented Interfaces:
WithJson<MsearchTemplateResponse.Builder<TDocument>>
,ObjectBuilder<MsearchTemplateResponse<TDocument>>
- Enclosing class:
- MsearchTemplateResponse<TDocument>
public static class MsearchTemplateResponse.Builder<TDocument> extends MultiSearchResult.AbstractBuilder<TDocument,MsearchTemplateResponse.Builder<TDocument>> implements ObjectBuilder<MsearchTemplateResponse<TDocument>>
Builder for
MsearchTemplateResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description MsearchTemplateResponse<TDocument>
build()
Builds aMsearchTemplateResponse
.protected MsearchTemplateResponse.Builder<TDocument>
self()
Methods inherited from class co.elastic.clients.elasticsearch.core.msearch.MultiSearchResult.AbstractBuilder
responses, responses, responses, tDocumentSerializer, took
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
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classMultiSearchResult.AbstractBuilder<TDocument,MsearchTemplateResponse.Builder<TDocument>>
-
build
Builds aMsearchTemplateResponse
.- Specified by:
build
in interfaceObjectBuilder<TDocument>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-