| Constructor and Description |
|---|
ServiceCreator(String name)
Construct a new ServiceCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Service |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
ServiceCreator |
setCodeLength(Integer codeLength)
The length of the verification code to be generated.
|
create, createAsync, createAsyncpublic ServiceCreator(String name)
name - Friendly name of the servicepublic ServiceCreator setCodeLength(Integer codeLength)
codeLength - Length of verification code. Valid values are 4-10public Service create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.