Class TaskUpdate

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

public class TaskUpdate extends Object
API request body for updating a task.
  • Constructor Details

    • TaskUpdate

      public TaskUpdate()
  • Method Details

    • setDestinationID

      public TaskUpdate setDestinationID(String destinationID)
    • getDestinationID

      @Nullable public String getDestinationID()
      Universally unique identifier (UUID) of a destination resource.
    • setCron

      public TaskUpdate setCron(String cron)
    • getCron

      @Nullable public String getCron()
      Cron expression for the task's schedule.
    • setInput

      public TaskUpdate setInput(TaskInput input)
    • getInput

      @Nullable public TaskInput getInput()
      Get input
    • setEnabled

      public TaskUpdate setEnabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Whether the task is enabled.
    • setFailureThreshold

      public TaskUpdate setFailureThreshold(Integer failureThreshold)
    • getFailureThreshold

      @Nullable public Integer getFailureThreshold()
      Maximum accepted percentage of failures for a task run to finish successfully. minimum: 0 maximum: 100
    • 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