public class KeyUpdater extends Updater<Key>
Constructor and Description |
---|
KeyUpdater(String pathFleetSid,
String pathSid)
Construct a new KeyUpdater.
|
Modifier and Type | Method and Description |
---|---|
KeyUpdater |
setDeviceSid(String deviceSid)
Provides the unique string identifier of an existing Device to become
authenticated with this Key credential..
|
KeyUpdater |
setFriendlyName(String friendlyName)
Provides a human readable descriptive text for this Key credential, up to 256
characters long..
|
Key |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public KeyUpdater setFriendlyName(String friendlyName)
friendlyName
- The human readable description for this Key.public KeyUpdater setDeviceSid(String deviceSid)
deviceSid
- The unique identifier of a Key to be authenticated.public Key update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.