Class DeploymentCreator


  • public class DeploymentCreator
    extends Creator<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

      • DeploymentCreator

        public DeploymentCreator​(String pathServiceSid,
                                 String pathEnvironmentSid,
                                 String buildSid)
        Construct a new DeploymentCreator.
        Parameters:
        pathServiceSid - Service Sid.
        pathEnvironmentSid - Environment Sid.
        buildSid - Build Sid.
    • Method Detail

      • create

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