Class IndexResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder<IndexResponse.Builder>
org.opensearch.client.opensearch.core.IndexResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexResponse>
- Enclosing class:
IndexResponse
public static class IndexResponse.Builder
extends WriteResponseBase.AbstractBuilder<IndexResponse.Builder>
implements ObjectBuilder<IndexResponse>
Builder for
IndexResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexResponse.protected IndexResponse.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder
forcedRefresh, id, index, primaryTerm, result, seqNo, shards, shards, 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 classWriteResponseBase.AbstractBuilder<IndexResponse.Builder>
-
build
Builds aIndexResponse.- Specified by:
buildin interfaceObjectBuilder<IndexResponse>- Throws:
NullPointerException- if some of the required fields are null.
-