public class UserBindingCreator extends Creator<UserBinding>
| Constructor and Description |
|---|
UserBindingCreator(String pathServiceSid,
String pathIdentity,
UserBinding.BindingType bindingType,
String address)
Construct a new UserBindingCreator.
|
| Modifier and Type | Method and Description |
|---|---|
UserBinding |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
UserBindingCreator |
setCredentialSid(String credentialSid)
The credential_sid.
|
UserBindingCreator |
setEndpoint(String endpoint)
The endpoint.
|
UserBindingCreator |
setNotificationProtocolVersion(String notificationProtocolVersion)
The notification_protocol_version.
|
UserBindingCreator |
setTag(List<String> tag)
The tag.
|
UserBindingCreator |
setTag(String tag)
The tag.
|
create, createAsync, createAsyncpublic UserBindingCreator(String pathServiceSid, String pathIdentity, UserBinding.BindingType bindingType, String address)
pathServiceSid - The service_sidpathIdentity - The identitybindingType - The binding_typeaddress - The addresspublic UserBindingCreator setTag(List<String> tag)
tag - The tagpublic UserBindingCreator setTag(String tag)
tag - The tagpublic UserBindingCreator setNotificationProtocolVersion(String notificationProtocolVersion)
notificationProtocolVersion - The notification_protocol_versionpublic UserBindingCreator setCredentialSid(String credentialSid)
credentialSid - The credential_sidpublic UserBindingCreator setEndpoint(String endpoint)
endpoint - The endpointpublic UserBinding create(TwilioRestClient client)
create in class Creator<UserBinding>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.