Package com.algolia.model.ingestion
Class TaskCreate
java.lang.Object
com.algolia.model.ingestion.TaskCreate
API request body for creating a task.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet actionDate 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 inputUniversally uniqud identifier (UUID) of a source.Get triggerinthashCode()setAction(ActionType action) setDestinationID(String destinationID) setEnabled(Boolean enabled) setFailureThreshold(Integer failureThreshold) setSourceID(String sourceID) setTrigger(TaskCreateTrigger trigger) toString()
-
Constructor Details
-
TaskCreate
public TaskCreate()
-
-
Method Details
-
setSourceID
-
getSourceID
Universally uniqud identifier (UUID) of a source. -
setDestinationID
-
getDestinationID
Universally unique identifier (UUID) of a destination resource. -
setTrigger
-
getTrigger
Get trigger -
setAction
-
getAction
Get action -
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 -
setInput
-
getInput
Get input -
setCursor
-
getCursor
Date of the last cursor in RFC 3339 format. -
equals
-
hashCode
public int hashCode() -
toString
-