Class IndexAction
java.lang.Object
co.elastic.clients.elasticsearch.watcher.IndexAction
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexAction extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexAction.BuilderBuilder forIndexAction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexAction>_DESERIALIZERJson deserializer forIndexAction -
Method Summary
Modifier and Type Method Description java.lang.StringdocId()API name:doc_idjava.lang.StringexecutionTimeField()API name:execution_time_fieldjava.lang.Stringindex()Required - API name:indexstatic IndexActionof(java.util.function.Function<IndexAction.Builder,ObjectBuilder<IndexAction>> fn)OpTypeopType()API name:op_typeRefreshrefresh()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 voidsetupIndexActionDeserializer(ObjectDeserializer<IndexAction.Builder> op)Timetimeout()API name:timeoutjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexAction
-
-
Method Details
-
of
public static IndexAction of(java.util.function.Function<IndexAction.Builder,ObjectBuilder<IndexAction>> fn) -
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 -
opType
API name:op_type -
timeout
API name:timeout -
executionTimeField
@Nullable public final java.lang.String executionTimeField()API name:execution_time_field -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupIndexActionDeserializer
-