public static class UpdateResponse.Builder extends DocWriteResponse.Builder
UpdateResponse
. 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 UpdateResponse
.forcedRefresh, id, result, shardId, shardInfo, type, version
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
build() |
void |
setGetResult(GetResult getResult) |
getId, getShardId, getType, setForcedRefresh, setId, setResult, setShardId, setShardInfo, setType, setVersion
public void setGetResult(GetResult getResult)
public UpdateResponse build()
build
in class DocWriteResponse.Builder