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 |
setAlexaSkillId(String alexaSkillId)
Deprecated..
|
ServiceCreator |
setApnCredentialSid(String apnCredentialSid)
The SID of the Credential
to use for APN Bindings..
|
ServiceCreator |
setDefaultAlexaNotificationProtocolVersion(String defaultAlexaNotificationProtocolVersion)
Deprecated..
|
ServiceCreator |
setDefaultApnNotificationProtocolVersion(String defaultApnNotificationProtocolVersion)
The protocol version to use for sending APNS notifications.
|
ServiceCreator |
setDefaultFcmNotificationProtocolVersion(String defaultFcmNotificationProtocolVersion)
The protocol version to use for sending FCM notifications.
|
ServiceCreator |
setDefaultGcmNotificationProtocolVersion(String defaultGcmNotificationProtocolVersion)
The protocol version to use for sending GCM notifications.
|
ServiceCreator |
setDeliveryCallbackEnabled(Boolean deliveryCallbackEnabled)
Callback configuration that enables delivery callbacks, default false.
|
ServiceCreator |
setDeliveryCallbackUrl(String deliveryCallbackUrl)
URL to send delivery status callback..
|
ServiceCreator |
setFacebookMessengerPageId(String facebookMessengerPageId)
Deprecated..
|
ServiceCreator |
setFcmCredentialSid(String fcmCredentialSid)
The SID of the Credential
to use for FCM Bindings..
|
ServiceCreator |
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource.
|
ServiceCreator |
setGcmCredentialSid(String gcmCredentialSid)
The SID of the Credential
to use for GCM Bindings..
|
ServiceCreator |
setLogEnabled(Boolean logEnabled)
Whether to log notifications.
|
ServiceCreator |
setMessagingServiceSid(String messagingServiceSid)
The SID of the Messaging
Service to use for SMS Bindings.
|
create, createAsync, createAsync
public ServiceCreator setFriendlyName(String friendlyName)
friendlyName
- A string to describe the resourcepublic ServiceCreator setApnCredentialSid(String apnCredentialSid)
apnCredentialSid
- The SID of the Credential to use for APN Bindingspublic ServiceCreator setGcmCredentialSid(String gcmCredentialSid)
gcmCredentialSid
- The SID of the Credential to use for GCM Bindingspublic ServiceCreator setMessagingServiceSid(String messagingServiceSid)
messagingServiceSid
- The SID of the Messaging Service to use for SMS
Bindingspublic ServiceCreator setFacebookMessengerPageId(String facebookMessengerPageId)
facebookMessengerPageId
- Deprecatedpublic ServiceCreator setDefaultApnNotificationProtocolVersion(String defaultApnNotificationProtocolVersion)
defaultApnNotificationProtocolVersion
- The protocol version to use for
sending APNS notificationspublic ServiceCreator setDefaultGcmNotificationProtocolVersion(String defaultGcmNotificationProtocolVersion)
defaultGcmNotificationProtocolVersion
- The protocol version to use for
sending GCM notificationspublic ServiceCreator setFcmCredentialSid(String fcmCredentialSid)
fcmCredentialSid
- The SID of the Credential to use for FCM Bindingspublic ServiceCreator setDefaultFcmNotificationProtocolVersion(String defaultFcmNotificationProtocolVersion)
defaultFcmNotificationProtocolVersion
- The protocol version to use for
sending FCM notificationspublic ServiceCreator setLogEnabled(Boolean logEnabled)
logEnabled
- Whether to log notificationspublic ServiceCreator setAlexaSkillId(String alexaSkillId)
alexaSkillId
- Deprecatedpublic ServiceCreator setDefaultAlexaNotificationProtocolVersion(String defaultAlexaNotificationProtocolVersion)
defaultAlexaNotificationProtocolVersion
- Deprecatedpublic ServiceCreator setDeliveryCallbackUrl(String deliveryCallbackUrl)
deliveryCallbackUrl
- Webhook URLpublic ServiceCreator setDeliveryCallbackEnabled(Boolean deliveryCallbackEnabled)
deliveryCallbackEnabled
- Enable delivery callbackspublic Service create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.