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 maximum number of calls allowed to be in the queue.
|
create, createAsync, createAsync
public QueueCreator(String friendlyName)
friendlyName
- A string to describe this resourcepublic QueueCreator setMaxSize(Integer maxSize)
maxSize
- The max number of calls allowed in the queuepublic Queue create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.