java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.Deployment
All Implemented Interfaces:
Serializable, Cloneable

public class Deployment extends Object implements Serializable, Cloneable

Information about an application version deployment.

See Also:
  • Constructor Details

    • Deployment

      public Deployment()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Deployment clone()
      Overrides:
      clone in class Object