Class IndexResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.WriteResponseBase.AbstractBuilder<IndexResponse.Builder>
co.elastic.clients.elasticsearch.core.IndexResponse.Builder
- All Implemented Interfaces:
WithJson<IndexResponse.Builder>
,ObjectBuilder<IndexResponse>
- Enclosing class:
- IndexResponse
public static class IndexResponse.Builder extends WriteResponseBase.AbstractBuilder<IndexResponse.Builder> implements ObjectBuilder<IndexResponse>
Builder for
IndexResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndexResponse
build()
Builds aIndexResponse
.protected IndexResponse.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.WriteResponseBase.AbstractBuilder
forcedRefresh, id, index, primaryTerm, result, seqNo, shards, shards, version
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classWriteResponseBase.AbstractBuilder<IndexResponse.Builder>
-
build
Builds aIndexResponse
.- Specified by:
build
in interfaceObjectBuilder<IndexResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-