Class DeleteResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder<DeleteResponse.Builder>
-
- org.opensearch.client.opensearch.core.DeleteResponse.Builder
-
- All Implemented Interfaces:
ObjectBuilder<DeleteResponse>
- Enclosing class:
- DeleteResponse
public static class DeleteResponse.Builder extends WriteResponseBase.AbstractBuilder<DeleteResponse.Builder> implements ObjectBuilder<DeleteResponse>
Builder forDeleteResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteResponsebuild()Builds aDeleteResponse.protected DeleteResponse.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 DeleteResponse.Builder self()
- Specified by:
selfin classWriteResponseBase.AbstractBuilder<DeleteResponse.Builder>
-
build
public DeleteResponse build()
Builds aDeleteResponse.- Specified by:
buildin interfaceObjectBuilder<DeleteResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-