Package com.datarobot.model
Class Deployment
- java.lang.Object
-
- com.datarobot.model.Deployment
-
- All Implemented Interfaces:
INeedClient,java.io.Serializable
public class Deployment extends java.lang.Object implements java.io.Serializable, INeedClient
A reference to aDeploymenton 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDataRobotKey()Get the datarobot-key required for predictions associated with thisDeploymentjava.lang.StringgetDeploymentId()Get the unique identifier of thisDeploymentjava.lang.StringgetModelType()Get the model type associated with this deploymentjava.lang.StringgetTarget()Get the target of thisDeploymentjava.lang.StringgetUrl()Get the URL of thisDeploymentvoidsetClient(IDataRobotAIClient client)internalvoidsetDataRobotKey(java.lang.String datarobotKey)internalvoidsetDeploymentId(java.lang.String deploymentId)internalvoidsetModelType(java.lang.String modelType)internalvoidsetTarget(java.lang.String target)internalvoidsetUrl(java.lang.String url)internaljava.lang.StringtoString()
-
-
-
Method Detail
-
setClient
public void setClient(IDataRobotAIClient client)
internal- Specified by:
setClientin interfaceINeedClient
-
getUrl
public java.lang.String getUrl()
Get the URL of thisDeployment- Returns:
- The URL of this deployment
-
getDeploymentId
public java.lang.String getDeploymentId()
Get the unique identifier of thisDeployment- Returns:
- The ID of this deployment
-
getTarget
public java.lang.String getTarget()
Get the target of thisDeployment- Returns:
- The target of this deployment
-
getDataRobotKey
public java.lang.String getDataRobotKey()
Get the datarobot-key required for predictions associated with thisDeployment- 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:
toStringin classjava.lang.Object
-
-