Constructor and Description |
---|
WebhookCreator(String pathConversationSid,
Webhook.Target target)
Construct a new WebhookCreator.
|
Modifier and Type | Method and Description |
---|---|
Webhook |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
WebhookCreator |
setConfigurationFilters(List<String> configurationFilters)
The list of events, firing webhook event for this Conversation..
|
WebhookCreator |
setConfigurationFilters(String configurationFilters)
The list of events, firing webhook event for this Conversation..
|
WebhookCreator |
setConfigurationFlowSid(String configurationFlowSid)
The studio flow sid, where the webhook should be sent to..
|
WebhookCreator |
setConfigurationMethod(Webhook.Method configurationMethod)
The HTTP method to be used when sending a webhook request..
|
WebhookCreator |
setConfigurationReplayAfter(Integer configurationReplayAfter)
The message index for which and it's successors the webhook will be replayed.
|
WebhookCreator |
setConfigurationTriggers(List<String> configurationTriggers)
The list of keywords, firing webhook event for this Conversation..
|
WebhookCreator |
setConfigurationTriggers(String configurationTriggers)
The list of keywords, firing webhook event for this Conversation..
|
WebhookCreator |
setConfigurationUrl(String configurationUrl)
The absolute url the webhook request should be sent to..
|
create, createAsync, createAsync
public WebhookCreator(String pathConversationSid, Webhook.Target target)
pathConversationSid
- The unique id of the Conversation for this
webhook.target
- The target of this webhook.public WebhookCreator setConfigurationUrl(String configurationUrl)
configurationUrl
- The absolute url the webhook request should be sent
to.public WebhookCreator setConfigurationMethod(Webhook.Method configurationMethod)
configurationMethod
- The HTTP method to be used when sending a webhook
request.public WebhookCreator setConfigurationFilters(List<String> configurationFilters)
configurationFilters
- The list of events, firing webhook event for
this Conversation.public WebhookCreator setConfigurationFilters(String configurationFilters)
configurationFilters
- The list of events, firing webhook event for
this Conversation.public WebhookCreator setConfigurationTriggers(List<String> configurationTriggers)
configurationTriggers
- The list of keywords, firing webhook event for
this Conversation.public WebhookCreator setConfigurationTriggers(String configurationTriggers)
configurationTriggers
- The list of keywords, firing webhook event for
this Conversation.public WebhookCreator setConfigurationFlowSid(String configurationFlowSid)
configurationFlowSid
- The studio flow sid, where the webhook should be
sent to.public WebhookCreator setConfigurationReplayAfter(Integer configurationReplayAfter)
configurationReplayAfter
- The message index for which and it's
successors the webhook will be replayed.public Webhook create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.