Class Run

java.lang.Object
com.algolia.model.ingestion.Run

public class Run extends Object
Run
  • Constructor Details

    • Run

      public Run()
  • Method Details

    • setRunID

      public Run setRunID(String runID)
    • getRunID

      @Nonnull public String getRunID()
      Universally unique identifier (UUID) of a task run.
    • setAppID

      public Run setAppID(String appID)
    • getAppID

      @Nonnull public String getAppID()
      Get appID
    • setTaskID

      public Run setTaskID(String taskID)
    • getTaskID

      @Nonnull public String getTaskID()
      Universally unique identifier (UUID) of a task.
    • setStatus

      public Run setStatus(RunStatus status)
    • getStatus

      @Nonnull public RunStatus getStatus()
      Get status
    • setProgress

      public Run setProgress(RunProgress progress)
    • getProgress

      @Nullable public RunProgress getProgress()
      Get progress
    • setOutcome

      public Run setOutcome(RunOutcome outcome)
    • getOutcome

      @Nullable public RunOutcome getOutcome()
      Get outcome
    • setFailureThreshold

      public Run setFailureThreshold(Integer failureThreshold)
    • getFailureThreshold

      @Nullable public Integer getFailureThreshold()
      Maximum accepted percentage of failures for a task run to finish successfully. minimum: 0 maximum: 100
    • setReason

      public Run setReason(String reason)
    • getReason

      @Nullable public String getReason()
      More information about the task run's outcome.
    • setReasonCode

      public Run setReasonCode(RunReasonCode reasonCode)
    • getReasonCode

      @Nullable public RunReasonCode getReasonCode()
      Get reasonCode
    • setType

      public Run setType(RunType type)
    • getType

      @Nonnull public RunType getType()
      Get type
    • setCreatedAt

      public Run setCreatedAt(String createdAt)
    • getCreatedAt

      @Nonnull public String getCreatedAt()
      Date of creation in RFC 3339 format.
    • setStartedAt

      public Run setStartedAt(String startedAt)
    • getStartedAt

      @Nullable public String getStartedAt()
      Date of start in RFC 3339 format.
    • setFinishedAt

      public Run setFinishedAt(String finishedAt)
    • getFinishedAt

      @Nullable public String getFinishedAt()
      Date of finish in RFC 3339 format.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object