public static class DeleteResponse.Builder extends DocWriteResponse.Builder
DeleteResponse
. This builder is usually used during xcontent parsing to
temporarily store the parsed values, then the DocWriteResponse.Builder#build()
method is called to
instantiate the DeleteResponse
.forcedRefresh, id, result, shardId, shardInfo, type, version
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeleteResponse |
build() |
void |
setFound(boolean found) |
getId, getShardId, getType, setForcedRefresh, setId, setResult, setShardId, setShardInfo, setType, setVersion
public void setFound(boolean found)
public DeleteResponse build()
build
in class DocWriteResponse.Builder