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 class
IndexAction.Builder
Builder forIndexAction
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexAction>
_DESERIALIZER
Json deserializer forIndexAction
-
Method Summary
Modifier and Type Method Description java.lang.String
docId()
API name:doc_id
java.lang.String
executionTimeField()
API name:execution_time_field
java.lang.String
index()
Required - API name:index
static IndexAction
of(java.util.function.Function<IndexAction.Builder,ObjectBuilder<IndexAction>> fn)
OpType
opType()
API name:op_type
Refresh
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
setupIndexActionDeserializer(ObjectDeserializer<IndexAction.Builder> op)
Time
timeout()
API name:timeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexActionDeserializer
-