Class CertificateUpdater


  • public class CertificateUpdater
    extends Updater<Certificate>
    PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
    • Constructor Detail

      • CertificateUpdater

        public CertificateUpdater​(String pathFleetSid,
                                  String pathSid)
        Construct a new CertificateUpdater.
        Parameters:
        pathFleetSid - The fleet_sid
        pathSid - A string that uniquely identifies the Certificate.
    • Method Detail

      • setFriendlyName

        public CertificateUpdater setFriendlyName​(String friendlyName)
        Provides a human readable descriptive text for this Certificate credential, up to 256 characters long..
        Parameters:
        friendlyName - The human readable description for this Certificate.
        Returns:
        this
      • setDeviceSid

        public CertificateUpdater setDeviceSid​(String deviceSid)
        Provides the unique string identifier of an existing Device to become authenticated with this Certificate credential..
        Parameters:
        deviceSid - The unique identifier of a Device to be authenticated.
        Returns:
        this
      • update

        public Certificate update​(TwilioRestClient client)
        Make the request to the Twilio API to perform the update.
        Specified by:
        update in class Updater<Certificate>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Updated Certificate