Class Deployment

  • All Implemented Interfaces:
    INeedClient, java.io.Serializable

    public class Deployment
    extends java.lang.Object
    implements java.io.Serializable, INeedClient
    A reference to a Deployment on the DataRobot server. Client code that uses the DataRobot AI API package generally should not construct these objects directly, they should be instantiated by AI API Client methods. This object may be out of sync with the DataRobot sever, for example, if multiple processes or users have permission to modify or delete it on the server.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Deployment()  
      Deployment​(java.lang.String url, java.lang.String deploymentId, java.lang.String target, java.lang.String datarobotKey, java.lang.String modelType)
      internal
    • Constructor Detail

      • Deployment

        public Deployment()
      • Deployment

        public Deployment​(java.lang.String url,
                          java.lang.String deploymentId,
                          java.lang.String target,
                          java.lang.String datarobotKey,
                          java.lang.String modelType)
        internal
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Get the URL of this Deployment
        Returns:
        The URL of this deployment
      • getDeploymentId

        public java.lang.String getDeploymentId()
        Get the unique identifier of this Deployment
        Returns:
        The ID of this deployment
      • getTarget

        public java.lang.String getTarget()
        Get the target of this Deployment
        Returns:
        The target of this deployment
      • getDataRobotKey

        public java.lang.String getDataRobotKey()
        Get the datarobot-key required for predictions associated with this Deployment
        Returns:
        The datarobot-key of this deployment
      • getModelType

        public java.lang.String getModelType()
        Get the model type associated with this deployment
        Returns:
        The model type of the deployment
      • setUrl

        public void setUrl​(java.lang.String url)
        internal
      • setDeploymentId

        public void setDeploymentId​(java.lang.String deploymentId)
        internal
      • setTarget

        public void setTarget​(java.lang.String target)
        internal
      • setDataRobotKey

        public void setDataRobotKey​(java.lang.String datarobotKey)
        internal
      • setModelType

        public void setModelType​(java.lang.String modelType)
        internal
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object