Constructor and Description |
---|
QueueCreator()
Construct a new QueueCreator.
|
QueueCreator(String accountSid)
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 |
setFriendlyName(String friendlyName)
A user-provided string that identifies this queue..
|
QueueCreator |
setMaxSize(Integer maxSize)
The upper limit of calls allowed to be in the queue.
|
create, createAsync, createAsync
public QueueCreator()
public QueueCreator(String accountSid)
accountSid
- The account_sidpublic QueueCreator setFriendlyName(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 © 2011 Twilio, Inc. All Rights Reserved.