public class CredentialUpdater extends Updater<Credential>
| Constructor and Description |
|---|
CredentialUpdater(String pathCredentialListSid,
String pathSid)
Construct a new CredentialUpdater.
|
CredentialUpdater(String pathAccountSid,
String pathCredentialListSid,
String pathSid)
Construct a new CredentialUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
CredentialUpdater |
setPassword(String password)
The password.
|
Credential |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic CredentialUpdater(String pathCredentialListSid, String pathSid)
pathCredentialListSid - The credential_list_sidpathSid - The sidpublic CredentialUpdater setPassword(String password)
password - The passwordpublic Credential update(TwilioRestClient client)
update in class Updater<Credential>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.