| Constructor and Description |
|---|
BindingCreator(String serviceSid,
String endpoint,
String identity,
Binding.BindingType bindingType,
String address)
Construct a new BindingCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Binding |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
BindingCreator |
setNotificationProtocolVersion(String notificationProtocolVersion)
The notification_protocol_version.
|
BindingCreator |
setTag(List<String> tag)
The tag.
|
BindingCreator |
setTag(String tag)
The tag.
|
public BindingCreator(String serviceSid, String endpoint, String identity, Binding.BindingType bindingType, String address)
serviceSid - The service_sidendpoint - The endpointidentity - The identitybindingType - The binding_typeaddress - The addresspublic BindingCreator setTag(List<String> tag)
tag - The tagpublic BindingCreator setTag(String tag)
tag - The tagpublic BindingCreator setNotificationProtocolVersion(String notificationProtocolVersion)
notificationProtocolVersion - The notification_protocol_versionpublic Binding execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.