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