Class IndexResponse.Builder
java.lang.Object
org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder<IndexResponse.Builder>
org.opensearch.client.opensearch._global.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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexResponsebuild()Builds aIndexResponse.protected IndexResponse.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder
error, error, forcedRefresh, id, index, primaryTerm, result, seqNo, shards, shards, type, version
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
selfin classWriteResponseBase.AbstractBuilder<IndexResponse.Builder>
-
build
Builds aIndexResponse.- Specified by:
buildin interfaceObjectBuilder<IndexResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-