Class MultiSearchResponseItem.Builder<TDocument>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.msearch.MultiSearchResponseItem.Builder<TDocument>
- All Implemented Interfaces:
ObjectBuilder<MultiSearchResponseItem<TDocument>>
- Enclosing class:
- MultiSearchResponseItem<TDocument>
public static class MultiSearchResponseItem.Builder<TDocument>
extends ObjectBuilderBase
implements ObjectBuilder<MultiSearchResponseItem<TDocument>>
-
Constructor Summary
-
Method Summary
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
result
-
result
public ObjectBuilder<MultiSearchResponseItem<TDocument>> result(Function<MultiSearchItem.Builder<TDocument>, ObjectBuilder<MultiSearchItem<TDocument>>> fn) -
failure
-
failure
public ObjectBuilder<MultiSearchResponseItem<TDocument>> failure(Function<ErrorResponse.Builder, ObjectBuilder<ErrorResponse>> fn) -
build
- Specified by:
build
in interfaceObjectBuilder<TDocument>
-