Class DeleteResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.WriteResponseBase.AbstractBuilder<DeleteResponse.Builder>
co.elastic.clients.elasticsearch.core.DeleteResponse.Builder
- All Implemented Interfaces:
WithJson<DeleteResponse.Builder>
,ObjectBuilder<DeleteResponse>
- Enclosing class:
- DeleteResponse
public static class DeleteResponse.Builder
extends WriteResponseBase.AbstractBuilder<DeleteResponse.Builder>
implements ObjectBuilder<DeleteResponse>
Builder for
DeleteResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteResponse
.protected DeleteResponse.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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classWriteResponseBase.AbstractBuilder<DeleteResponse.Builder>
-
build
Builds aDeleteResponse
.- Specified by:
build
in interfaceObjectBuilder<DeleteResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-