| Constructor and Description |
|---|
ServiceCreator() |
| Modifier and Type | Method and Description |
|---|---|
Service |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
ServiceCreator |
setAutoCreate(Boolean autoCreate)
Boolean flag specifying whether to create threads when a user communticates
out of band..
|
ServiceCreator |
setCallbackUrl(String callbackUrl)
The URL Twilio will request for callback notifications..
|
ServiceCreator |
setCallbackUrl(URI callbackUrl)
The URL Twilio will request for callback notifications..
|
ServiceCreator |
setFriendlyName(String friendlyName)
A human readable description of this resource, up to 64 characters..
|
create, createAsync, createAsyncpublic ServiceCreator setFriendlyName(String friendlyName)
friendlyName - A human readable description of this resourcepublic ServiceCreator setAutoCreate(Boolean autoCreate)
autoCreate - Boolean flag specifying whether to auto-create threads.public ServiceCreator setCallbackUrl(URI callbackUrl)
callbackUrl - URL Twilio will request for callbacks.public ServiceCreator setCallbackUrl(String callbackUrl)
callbackUrl - URL Twilio will request for callbacks.public Service create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.