Class ConnectorSyncJob

java.lang.Object
co.elastic.clients.elasticsearch.connector.ConnectorSyncJob
All Implemented Interfaces:
JsonpSerializable
Direct Known Subclasses:
SyncJobGetResponse

@JsonpDeserializable public class ConnectorSyncJob extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • connectorSyncJobOf

    • cancelationRequestedAt

      @Nullable public final DateTime cancelationRequestedAt()
      API name: cancelation_requested_at
    • canceledAt

      @Nullable public final DateTime canceledAt()
      API name: canceled_at
    • completedAt

      @Nullable public final DateTime completedAt()
      API name: completed_at
    • connector

      public final SyncJobConnectorReference connector()
      Required - API name: connector
    • createdAt

      public final DateTime createdAt()
      Required - API name: created_at
    • deletedDocumentCount

      public final long deletedDocumentCount()
      Required - API name: deleted_document_count
    • error

      @Nullable public final String error()
      API name: error
    • id

      public final String id()
      Required - API name: id
    • indexedDocumentCount

      public final long indexedDocumentCount()
      Required - API name: indexed_document_count
    • indexedDocumentVolume

      public final long indexedDocumentVolume()
      Required - API name: indexed_document_volume
    • jobType

      public final SyncJobType jobType()
      Required - API name: job_type
    • lastSeen

      @Nullable public final DateTime lastSeen()
      API name: last_seen
    • metadata

      public final Map<String,JsonData> metadata()
      Required - API name: metadata
    • startedAt

      @Nullable public final DateTime startedAt()
      API name: started_at
    • status

      public final SyncStatus status()
      Required - API name: status
    • totalDocumentCount

      public final long totalDocumentCount()
      Required - API name: total_document_count
    • triggerMethod

      public final SyncJobTriggerMethod triggerMethod()
      Required - API name: trigger_method
    • workerHostname

      @Nullable public final String workerHostname()
      API name: worker_hostname
    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupConnectorSyncJobDeserializer

      protected static <BuilderT extends ConnectorSyncJob.AbstractBuilder<BuilderT>> void setupConnectorSyncJobDeserializer(ObjectDeserializer<BuilderT> op)