Class Index
java.lang.Object
co.elastic.clients.elasticsearch.watcher.Index
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Index extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Index.Builder
Builder forIndex
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Index>
_DESERIALIZER
Json deserializer forIndex
-
Constructor Summary
Constructors Constructor Description Index(Index.Builder builder)
Index(java.util.function.Function<Index.Builder,Index.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
docId()
API name:doc_id
java.lang.String
index()
Required - API name:index
jakarta.json.JsonValue
refresh()
API name:refresh
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupIndexDeserializer(DelegatingDeserializer<Index.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndex
-
-
Constructor Details
-
Index
-
Index
-
-
Method Details
-
index
public java.lang.String index()Required - API name:index
-
docId
@Nullable public java.lang.String docId()API name:doc_id
-
refresh
@Nullable public jakarta.json.JsonValue refresh()API name:refresh
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexDeserializer
-