| Constructor and Description |
|---|
QueueCreator(String friendlyName)
Construct a new QueueCreator.
|
QueueCreator(String pathAccountSid,
String friendlyName)
Construct a new QueueCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Queue |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
QueueCreator |
setMaxSize(Integer maxSize)
The upper limit of calls allowed to be in the queue.
|
create, createAsync, createAsyncpublic QueueCreator(String friendlyName)
friendlyName - A user-provided string that identifies this queue.public QueueCreator setMaxSize(Integer maxSize)
maxSize - The max number of calls allowed in the queuepublic Queue create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.