| Constructor and Description |
|---|
ServiceUpdater(String pathSid)
Construct a new ServiceUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceUpdater |
setAclEnabled(Boolean aclEnabled)
The acl_enabled.
|
ServiceUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
ServiceUpdater |
setReachabilityWebhooksEnabled(Boolean reachabilityWebhooksEnabled)
The reachability_webhooks_enabled.
|
ServiceUpdater |
setWebhookUrl(String webhookUrl)
The webhook_url.
|
ServiceUpdater |
setWebhookUrl(URI webhookUrl)
The webhook_url.
|
Service |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic ServiceUpdater(String pathSid)
pathSid - The sidpublic ServiceUpdater setWebhookUrl(URI webhookUrl)
webhookUrl - The webhook_urlpublic ServiceUpdater setWebhookUrl(String webhookUrl)
webhookUrl - The webhook_urlpublic ServiceUpdater setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic ServiceUpdater setReachabilityWebhooksEnabled(Boolean reachabilityWebhooksEnabled)
reachabilityWebhooksEnabled - The reachability_webhooks_enabledpublic ServiceUpdater setAclEnabled(Boolean aclEnabled)
aclEnabled - The acl_enabledpublic Service update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.