primaryTerm
API name:
_primary_term
ObjectBuilder<QueryWatch>
public static class QueryWatch.Builder extends ObjectBuilderBase implements ObjectBuilder<QueryWatch>
QueryWatch
.Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
QueryWatch |
build() |
Builds a
QueryWatch . |
QueryWatch.Builder |
id(java.lang.String value) |
Required - API name:
_id |
QueryWatch.Builder |
primaryTerm(java.lang.Integer value) |
API name:
_primary_term |
QueryWatch.Builder |
seqNo(java.lang.Long value) |
API name:
_seq_no |
QueryWatch.Builder |
status(WatchStatus value) |
API name:
status |
QueryWatch.Builder |
status(java.util.function.Function<WatchStatus.Builder,ObjectBuilder<WatchStatus>> fn) |
API name:
status |
QueryWatch.Builder |
watch(Watch value) |
API name:
watch |
QueryWatch.Builder |
watch(java.util.function.Function<Watch.Builder,ObjectBuilder<Watch>> fn) |
API name:
watch |
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_id
status
status
watch
watch
_primary_term
_seq_no
QueryWatch
.build
in interface ObjectBuilder<QueryWatch>
java.lang.NullPointerException
- if some of the required fields are null.