| Constructor and Description |
|---|
BindingCreator(String pathServiceSid,
String identity,
Binding.BindingType bindingType,
String address)
Construct a new BindingCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Binding |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
BindingCreator |
setCredentialSid(String credentialSid)
The credential_sid.
|
BindingCreator |
setEndpoint(String endpoint)
The endpoint.
|
BindingCreator |
setNotificationProtocolVersion(String notificationProtocolVersion)
The notification_protocol_version.
|
BindingCreator |
setTag(List<String> tag)
The tag.
|
BindingCreator |
setTag(String tag)
The tag.
|
create, createAsync, createAsyncpublic BindingCreator(String pathServiceSid, String identity, Binding.BindingType bindingType, String address)
pathServiceSid - The service_sididentity - 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 BindingCreator setCredentialSid(String credentialSid)
credentialSid - The credential_sidpublic BindingCreator setEndpoint(String endpoint)
endpoint - The endpointpublic Binding create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.