| Constructor and Description |
|---|
CommandCreator(String command)
Construct a new CommandCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Command |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
CommandCreator |
setCallbackMethod(String callbackMethod)
The callback_method.
|
CommandCreator |
setCallbackUrl(String callbackUrl)
The callback_url.
|
CommandCreator |
setCallbackUrl(URI callbackUrl)
The callback_url.
|
CommandCreator |
setCommandMode(String commandMode)
The command_mode.
|
CommandCreator |
setDevice(String device)
The device.
|
CommandCreator |
setIncludeSid(String includeSid)
The include_sid.
|
CommandCreator |
setSim(String sim)
The sim.
|
create, createAsync, createAsyncpublic CommandCreator(String command)
command - The commandpublic CommandCreator setDevice(String device)
device - The devicepublic CommandCreator setSim(String sim)
sim - The simpublic CommandCreator setCallbackMethod(String callbackMethod)
callbackMethod - The callback_methodpublic CommandCreator setCallbackUrl(URI callbackUrl)
callbackUrl - The callback_urlpublic CommandCreator setCallbackUrl(String callbackUrl)
callbackUrl - The callback_urlpublic CommandCreator setCommandMode(String commandMode)
commandMode - The command_modepublic CommandCreator setIncludeSid(String includeSid)
includeSid - The include_sidpublic Command create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.