Constructor and Description |
---|
CommandCreator(String device,
String command)
Construct a new CommandCreator.
|
Modifier and Type | Method and Description |
---|---|
Command |
execute(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.
|
public CommandCreator setCallbackMethod(String callbackMethod)
callbackMethod
- The callback_methodpublic CommandCreator setCallbackUrl(URI callbackUrl)
callbackUrl
- The callback_urlpublic CommandCreator setCallbackUrl(String callbackUrl)
callbackUrl
- The callback_urlpublic Command execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.