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
Constructors -
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch.core.get.GetResult.AbstractBuilder
fields, fields, found, id, ignored, ignored, index, primaryTerm, routing, seqNo, source, tDocumentSerializer, versionMethods 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 classGetResult.AbstractBuilder<TDocument,GetResult.Builder<TDocument>>
-
build
Builds aGetResult.- Specified by:
buildin interfaceObjectBuilder<TDocument>- Throws:
NullPointerException- if some of the required fields are null.
-