Class Index
java.lang.Object
co.elastic.clients.elasticsearch.watcher.Index
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Index extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndex.BuilderBuilder forIndex. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Index>_DESERIALIZERJson deserializer forIndex -
Method Summary
Modifier and Type Method Description java.lang.StringdocId()API name:doc_idjava.lang.Stringindex()Required - API name:indexstatic Indexof(java.util.function.Function<Index.Builder,ObjectBuilder<Index>> fn)Refreshrefresh()API name:refreshvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexDeserializer(ObjectDeserializer<Index.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndex
-
-
Method Details
-
of
-
index
public final java.lang.String index()Required - API name:index -
docId
@Nullable public final java.lang.String docId()API name:doc_id -
refresh
API name:refresh -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupIndexDeserializer
-