Class GetResult.Builder<TDocument>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.core.get.GetResult.AbstractBuilder<TDocument,GetResult.Builder<TDocument>>
co.elastic.clients.elasticsearch.core.get.GetResult.Builder<TDocument>
- All Implemented Interfaces:
WithJson<GetResult.Builder<TDocument>>
,ObjectBuilder<GetResult<TDocument>>
public static class GetResult.Builder<TDocument>
extends GetResult.AbstractBuilder<TDocument,GetResult.Builder<TDocument>>
implements ObjectBuilder<GetResult<TDocument>>
Builder for
GetResult
.-
Constructor Summary
-
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch.core.get.GetResult.AbstractBuilder
fields, fields, found, id, index, primaryTerm, routing, seqNo, source, tDocumentSerializer, version
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classGetResult.AbstractBuilder<TDocument,
GetResult.Builder<TDocument>>
-
build
Builds aGetResult
.- Specified by:
build
in interfaceObjectBuilder<TDocument>
- Throws:
NullPointerException
- if some of the required fields are null.
-