Package com.algolia.model.ingestion
Class TaskCreate
java.lang.Object
com.algolia.model.ingestion.TaskCreate
The payload for a task creation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet actionThe destination UUID.Whether the task is enabled or not.A percentage representing the accepted failure threshold to determine if a `run` succeeded or not.getInput()Get inputThe source UUID.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
The source UUID. -
setDestinationID
-
getDestinationID
The destination UUID. -
setTrigger
-
getTrigger
Get trigger -
setAction
-
getAction
Get action -
setEnabled
-
getEnabled
Whether the task is enabled or not. -
setFailureThreshold
-
getFailureThreshold
A percentage representing the accepted failure threshold to determine if a `run` succeeded or not. minimum: 0 maximum: 100 -
setInput
-
getInput
Get input -
equals
-
hashCode
public int hashCode() -
toString
-