Constructor and Description |
---|
WorkflowUpdater(String pathWorkspaceSid,
String pathSid)
Construct a new WorkflowUpdater.
|
Modifier and Type | Method and Description |
---|---|
WorkflowUpdater |
setAssignmentCallbackUrl(String assignmentCallbackUrl)
The URL from your application that will process task assignment events.
|
WorkflowUpdater |
setAssignmentCallbackUrl(URI assignmentCallbackUrl)
The URL from your application that will process task assignment events.
|
WorkflowUpdater |
setConfiguration(String configuration)
A JSON string that contains the rules to apply to the Workflow.
|
WorkflowUpdater |
setFallbackAssignmentCallbackUrl(String fallbackAssignmentCallbackUrl)
The URL that we should call when a call to the `assignment_callback_url`
fails..
|
WorkflowUpdater |
setFallbackAssignmentCallbackUrl(URI fallbackAssignmentCallbackUrl)
The URL that we should call when a call to the `assignment_callback_url`
fails..
|
WorkflowUpdater |
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the Workflow resource.
|
WorkflowUpdater |
setReEvaluateTasks(String reEvaluateTasks)
Whether or not to re-evaluate Tasks.
|
WorkflowUpdater |
setTaskReservationTimeout(Integer taskReservationTimeout)
How long TaskRouter will wait for a confirmation response from your
application after it assigns a Task to a Worker.
|
Workflow |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public WorkflowUpdater setFriendlyName(String friendlyName)
friendlyName
- descriptive string that you create to describe the
Workflow resourcepublic WorkflowUpdater setAssignmentCallbackUrl(URI assignmentCallbackUrl)
assignmentCallbackUrl
- The URL from your application that will process
task assignment eventspublic WorkflowUpdater setAssignmentCallbackUrl(String assignmentCallbackUrl)
assignmentCallbackUrl
- The URL from your application that will process
task assignment eventspublic WorkflowUpdater setFallbackAssignmentCallbackUrl(URI fallbackAssignmentCallbackUrl)
fallbackAssignmentCallbackUrl
- The URL that we should call when a call
to the `assignment_callback_url` failspublic WorkflowUpdater setFallbackAssignmentCallbackUrl(String fallbackAssignmentCallbackUrl)
fallbackAssignmentCallbackUrl
- The URL that we should call when a call
to the `assignment_callback_url` failspublic WorkflowUpdater setConfiguration(String configuration)
configuration
- A JSON string that contains the rules to apply to the
Workflowpublic WorkflowUpdater setTaskReservationTimeout(Integer taskReservationTimeout)
taskReservationTimeout
- How long TaskRouter will wait for a
confirmation response from your application
after it assigns a Task to a Workerpublic WorkflowUpdater setReEvaluateTasks(String reEvaluateTasks)
reEvaluateTasks
- Whether or not to re-evaluate Taskspublic Workflow update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.