Class GetResult.Builder<TDocument>
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.get.GetResult.AbstractBuilder<TDocument,GetResult.Builder<TDocument>>
org.opensearch.client.opensearch.core.get.GetResult.Builder<TDocument>
- All Implemented Interfaces:
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 org.opensearch.client.opensearch.core.get.GetResult.AbstractBuilder
fields, fields, found, id, index, primaryTerm, routing, seqNo, source, tDocumentSerializer, versionMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _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.
-