Package com.algolia.model.ingestion
Class Task
java.lang.Object
com.algolia.model.ingestion.Task
Task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get actionDate of creation in RFC 3339 format.getCron()
Cron expression for the task's schedule.Date of the last cursor in RFC 3339 format.Universally unique identifier (UUID) of a destination resource.Whether the task is enabled.Maximum accepted percentage of failures for a task run to finish successfully.getInput()
Get inputThe last time the scheduled task ran in RFC 3339 format.The next scheduled run of the task in RFC 3339 format.Universally uniqud identifier (UUID) of a source.Universally unique identifier (UUID) of a task.Date of last update in RFC 3339 format.int
hashCode()
setAction
(ActionType action) setCreatedAt
(String createdAt) setDestinationID
(String destinationID) setEnabled
(Boolean enabled) setFailureThreshold
(Integer failureThreshold) setLastRun
(String lastRun) setNextRun
(String nextRun) setSourceID
(String sourceID) setUpdatedAt
(String updatedAt) toString()
-
Constructor Details
-
Task
public Task()
-
-
Method Details
-
setTaskID
-
getTaskID
Universally unique identifier (UUID) of a task. -
setSourceID
-
getSourceID
Universally uniqud identifier (UUID) of a source. -
setDestinationID
-
getDestinationID
Universally unique identifier (UUID) of a destination resource. -
setCron
-
getCron
Cron expression for the task's schedule. -
setLastRun
-
getLastRun
The last time the scheduled task ran in RFC 3339 format. -
setNextRun
-
getNextRun
The next scheduled run of the task in RFC 3339 format. -
setInput
-
getInput
Get input -
setEnabled
-
getEnabled
Whether the task is enabled. -
setFailureThreshold
-
getFailureThreshold
Maximum accepted percentage of failures for a task run to finish successfully. minimum: 0 maximum: 100 -
setAction
-
getAction
Get action -
setCursor
-
getCursor
Date of the last cursor in RFC 3339 format. -
setCreatedAt
-
getCreatedAt
Date of creation in RFC 3339 format. -
setUpdatedAt
-
getUpdatedAt
Date of last update in RFC 3339 format. -
equals
-
hashCode
public int hashCode() -
toString
-