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 |
setAclEnabled(Boolean aclEnabled)
Whether token identities in the Service must be granted access to Sync
objects by using the Permissions
resource..
|
ServiceCreator |
setFriendlyName(String friendlyName)
A string that you assign to describe the resource..
|
ServiceCreator |
setReachabilityDebouncingEnabled(Boolean reachabilityDebouncingEnabled)
Whether every `endpoint_disconnected` event should occur after a configurable
delay.
|
ServiceCreator |
setReachabilityDebouncingWindow(Integer reachabilityDebouncingWindow)
The reachability event delay in milliseconds if
`reachability_debouncing_enabled` = `true`.
|
ServiceCreator |
setReachabilityWebhooksEnabled(Boolean reachabilityWebhooksEnabled)
Whether the service instance should call `webhook_url` when client endpoints
connect to Sync.
|
ServiceCreator |
setWebhooksFromRestEnabled(Boolean webhooksFromRestEnabled)
Whether the Service instance should call `webhook_url` when the REST API is
used to update Sync objects.
|
ServiceCreator |
setWebhookUrl(String webhookUrl)
The URL we should call when Sync objects are manipulated..
|
ServiceCreator |
setWebhookUrl(URI webhookUrl)
The URL we should call when Sync objects are manipulated..
|
create, createAsync, createAsync
public ServiceCreator setFriendlyName(String friendlyName)
friendlyName
- A string that you assign to describe the resourcepublic ServiceCreator setWebhookUrl(URI webhookUrl)
webhookUrl
- The URL we should call when Sync objects are manipulatedpublic ServiceCreator setWebhookUrl(String webhookUrl)
webhookUrl
- The URL we should call when Sync objects are manipulatedpublic ServiceCreator setReachabilityWebhooksEnabled(Boolean reachabilityWebhooksEnabled)
reachabilityWebhooksEnabled
- Whether the service instance should call
webhook_url when client endpoints connect
to Syncpublic ServiceCreator setAclEnabled(Boolean aclEnabled)
aclEnabled
- Whether token identities in the Service must be granted
access to Sync objects by using the Permissions resourcepublic ServiceCreator setReachabilityDebouncingEnabled(Boolean reachabilityDebouncingEnabled)
reachabilityDebouncingEnabled
- Whether every endpoint_disconnected
event occurs after a configurable delaypublic ServiceCreator setReachabilityDebouncingWindow(Integer reachabilityDebouncingWindow)
reachabilityDebouncingWindow
- The reachability event delay in
millisecondspublic ServiceCreator setWebhooksFromRestEnabled(Boolean webhooksFromRestEnabled)
webhooksFromRestEnabled
- Whether the Service instance should call
webhook_url when the REST API is used to
update Sync objectspublic Service create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.