public class ModelBuildCreator extends Creator<ModelBuild>
Constructor and Description |
---|
ModelBuildCreator(String pathAssistantSid)
Construct a new ModelBuildCreator.
|
Modifier and Type | Method and Description |
---|---|
ModelBuild |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
ModelBuildCreator |
setStatusCallback(String statusCallback)
The URL we should call using a POST method to send status information to your
application..
|
ModelBuildCreator |
setStatusCallback(URI statusCallback)
The URL we should call using a POST method to send status information to your
application..
|
ModelBuildCreator |
setUniqueName(String uniqueName)
An application-defined string that uniquely identifies the new resource.
|
create, createAsync, createAsync
public ModelBuildCreator(String pathAssistantSid)
pathAssistantSid
- The SID of the Assistant that is the parent of the
new resourcepublic ModelBuildCreator setStatusCallback(URI statusCallback)
statusCallback
- The URL we should call using a POST method to send
status information to your applicationpublic ModelBuildCreator setStatusCallback(String statusCallback)
statusCallback
- The URL we should call using a POST method to send
status information to your applicationpublic ModelBuildCreator setUniqueName(String uniqueName)
uniqueName
- An application-defined string that uniquely identifies the
new resourcepublic ModelBuild create(TwilioRestClient client)
create
in class Creator<ModelBuild>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.