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, primaryTerm, result, seqNo, shardId, shardInfo, type, version| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
IndexResponse |
build() |
getId, getShardId, getType, setForcedRefresh, setId, setPrimaryTerm, setResult, setSeqNo, setShardId, setShardInfo, setType, setVersionpublic IndexResponse build()
build in class DocWriteResponse.Builder