Class Deployment

    • Constructor Detail

      • Deployment

        public Deployment()
    • Method Detail

      • setVersionLabel

        public void setVersionLabel​(String versionLabel)

        The version label of the application version in the deployment.

        Parameters:
        versionLabel - The version label of the application version in the deployment.
      • getVersionLabel

        public String getVersionLabel()

        The version label of the application version in the deployment.

        Returns:
        The version label of the application version in the deployment.
      • withVersionLabel

        public Deployment withVersionLabel​(String versionLabel)

        The version label of the application version in the deployment.

        Parameters:
        versionLabel - The version label of the application version in the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeploymentId

        public void setDeploymentId​(Long deploymentId)

        The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.

        Parameters:
        deploymentId - The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
      • getDeploymentId

        public Long getDeploymentId()

        The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.

        Returns:
        The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
      • withDeploymentId

        public Deployment withDeploymentId​(Long deploymentId)

        The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.

        Parameters:
        deploymentId - The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        The status of the deployment:

        • In Progress : The deployment is in progress.
        • Deployed : The deployment succeeded.
        • Failed : The deployment failed.
        Parameters:
        status - The status of the deployment:

        • In Progress : The deployment is in progress.
        • Deployed : The deployment succeeded.
        • Failed : The deployment failed.
      • getStatus

        public String getStatus()

        The status of the deployment:

        • In Progress : The deployment is in progress.
        • Deployed : The deployment succeeded.
        • Failed : The deployment failed.
        Returns:
        The status of the deployment:

        • In Progress : The deployment is in progress.
        • Deployed : The deployment succeeded.
        • Failed : The deployment failed.
      • withStatus

        public Deployment withStatus​(String status)

        The status of the deployment:

        • In Progress : The deployment is in progress.
        • Deployed : The deployment succeeded.
        • Failed : The deployment failed.
        Parameters:
        status - The status of the deployment:

        • In Progress : The deployment is in progress.
        • Deployed : The deployment succeeded.
        • Failed : The deployment failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeploymentTime

        public void setDeploymentTime​(Date deploymentTime)

        For in-progress deployments, the time that the deloyment started.

        For completed deployments, the time that the deployment ended.

        Parameters:
        deploymentTime - For in-progress deployments, the time that the deloyment started.

        For completed deployments, the time that the deployment ended.

      • getDeploymentTime

        public Date getDeploymentTime()

        For in-progress deployments, the time that the deloyment started.

        For completed deployments, the time that the deployment ended.

        Returns:
        For in-progress deployments, the time that the deloyment started.

        For completed deployments, the time that the deployment ended.

      • withDeploymentTime

        public Deployment withDeploymentTime​(Date deploymentTime)

        For in-progress deployments, the time that the deloyment started.

        For completed deployments, the time that the deployment ended.

        Parameters:
        deploymentTime - For in-progress deployments, the time that the deloyment started.

        For completed deployments, the time that the deployment ended.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object