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