Class Index.Builder
java.lang.Object
co.elastic.clients.elasticsearch.watcher.Index.Builder
- All Implemented Interfaces:
ObjectBuilder<Index>
- Enclosing class:
- Index
public static class Index.Builder extends java.lang.Object implements ObjectBuilder<Index>
Builder for
Index.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Indexbuild()Builds aIndex.Index.BuilderdocId(java.lang.String value)API name:doc_idIndex.Builderindex(java.lang.String value)API name:indexIndex.Builderrefresh(jakarta.json.JsonValue value)API name:refreshMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
API name:index -
docId
API name:doc_id -
refresh
API name:refresh -
build
Builds aIndex.- Specified by:
buildin interfaceObjectBuilder<Index>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-