Class KeyUpdater
- java.lang.Object
-
- com.twilio.base.Updater<Key>
-
- com.twilio.rest.api.v2010.account.KeyUpdater
-
-
Constructor Summary
Constructors Constructor Description KeyUpdater(String pathSid)
Construct a new KeyUpdater.KeyUpdater(String pathAccountSid, String pathSid)
Construct a new KeyUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyUpdater
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource.Key
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Constructor Detail
-
KeyUpdater
public KeyUpdater(String pathSid)
Construct a new KeyUpdater.- Parameters:
pathSid
- The unique string that identifies the resource
-
-
Method Detail
-
setFriendlyName
public KeyUpdater setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource. It can be up to 64 characters long..- Parameters:
friendlyName
- A string to describe the resource- Returns:
- this
-
update
public Key update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
-
-