| Constructor and Description |
|---|
ServiceUpdater(String pathSid)
Construct a new ServiceUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceUpdater |
setCodeLength(Integer codeLength)
The length of the verification code to be generated.
|
ServiceUpdater |
setName(String name)
A 1-64 character string with friendly name of service.
|
Service |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic ServiceUpdater(String pathSid)
pathSid - Service Sid.public ServiceUpdater setName(String name)
name - Friendly name of the servicepublic ServiceUpdater setCodeLength(Integer codeLength)
codeLength - Length of verification code. Valid values are 4-10public Service update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.