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 forIndexResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexResponsebuild()Builds aIndexResponse.protected IndexResponse.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder
forcedRefresh, id, index, primaryTerm, result, seqNo, shards, shards, version
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected IndexResponse.Builder self()
- Specified by:
selfin classWriteResponseBase.AbstractBuilder<IndexResponse.Builder>
-
build
public IndexResponse build()
Builds aIndexResponse.- Specified by:
buildin interfaceObjectBuilder<IndexResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-