Class DeploymentUpdater


  • public class DeploymentUpdater
    extends Updater<Deployment>
    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

      • DeploymentUpdater

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

      • setFriendlyName

        public DeploymentUpdater setFriendlyName​(String friendlyName)
        Provides a human readable descriptive text for this Deployment, up to 64 characters long.
        Parameters:
        friendlyName - A human readable description for this Deployment.
        Returns:
        this
      • setSyncServiceSid

        public DeploymentUpdater setSyncServiceSid​(String syncServiceSid)
        Provides the unique string identifier of the Twilio Sync service instance that will be linked to and accessible by this Deployment..
        Parameters:
        syncServiceSid - The unique identifier of the Sync service instance.
        Returns:
        this
      • update

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