Class WebhookUpdater
- java.lang.Object
-
- com.twilio.base.Updater<Webhook>
-
- com.twilio.rest.conversations.v1.conversation.WebhookUpdater
-
-
Constructor Summary
Constructors Constructor Description WebhookUpdater(String pathConversationSid, String pathSid)
Construct a new WebhookUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookUpdater
setConfigurationFilters(String configurationFilters)
The list of events, firing webhook event for this Conversation..WebhookUpdater
setConfigurationFilters(List<String> configurationFilters)
The list of events, firing webhook event for this Conversation..WebhookUpdater
setConfigurationFlowSid(String configurationFlowSid)
The studio flow sid, where the webhook should be sent to..WebhookUpdater
setConfigurationMethod(Webhook.Method configurationMethod)
The HTTP method to be used when sending a webhook request..WebhookUpdater
setConfigurationTriggers(String configurationTriggers)
The list of keywords, firing webhook event for this Conversation..WebhookUpdater
setConfigurationTriggers(List<String> configurationTriggers)
The list of keywords, firing webhook event for this Conversation..WebhookUpdater
setConfigurationUrl(String configurationUrl)
The absolute url the webhook request should be sent to..Webhook
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Method Detail
-
setConfigurationUrl
public WebhookUpdater setConfigurationUrl(String configurationUrl)
The absolute url the webhook request should be sent to..- Parameters:
configurationUrl
- The absolute url the webhook request should be sent to.- Returns:
- this
-
setConfigurationMethod
public WebhookUpdater setConfigurationMethod(Webhook.Method configurationMethod)
The HTTP method to be used when sending a webhook request..- Parameters:
configurationMethod
- The HTTP method to be used when sending a webhook request.- Returns:
- this
-
setConfigurationFilters
public WebhookUpdater setConfigurationFilters(List<String> configurationFilters)
The list of events, firing webhook event for this Conversation..- Parameters:
configurationFilters
- The list of events, firing webhook event for this Conversation.- Returns:
- this
-
setConfigurationFilters
public WebhookUpdater setConfigurationFilters(String configurationFilters)
The list of events, firing webhook event for this Conversation..- Parameters:
configurationFilters
- The list of events, firing webhook event for this Conversation.- Returns:
- this
-
setConfigurationTriggers
public WebhookUpdater setConfigurationTriggers(List<String> configurationTriggers)
The list of keywords, firing webhook event for this Conversation..- Parameters:
configurationTriggers
- The list of keywords, firing webhook event for this Conversation.- Returns:
- this
-
setConfigurationTriggers
public WebhookUpdater setConfigurationTriggers(String configurationTriggers)
The list of keywords, firing webhook event for this Conversation..- Parameters:
configurationTriggers
- The list of keywords, firing webhook event for this Conversation.- Returns:
- this
-
setConfigurationFlowSid
public WebhookUpdater setConfigurationFlowSid(String configurationFlowSid)
The studio flow sid, where the webhook should be sent to..- Parameters:
configurationFlowSid
- The studio flow sid, where the webhook should be sent to.- Returns:
- this
-
update
public Webhook update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
-
-