Class Deployment
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Deployment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Deploymentclone()booleanequals(Object obj)LonggetDeploymentId()The ID of the deployment.DategetDeploymentTime()For in-progress deployments, the time that the deloyment started.StringgetStatus()The status of the deployment:StringgetVersionLabel()The version label of the application version in the deployment.inthashCode()voidsetDeploymentId(Long deploymentId)The ID of the deployment.voidsetDeploymentTime(Date deploymentTime)For in-progress deployments, the time that the deloyment started.voidsetStatus(String status)The status of the deployment:voidsetVersionLabel(String versionLabel)The version label of the application version in the deployment.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeploymentwithDeploymentId(Long deploymentId)The ID of the deployment.DeploymentwithDeploymentTime(Date deploymentTime)For in-progress deployments, the time that the deloyment started.DeploymentwithStatus(String status)The status of the deployment:DeploymentwithVersionLabel(String versionLabel)The version label of the application version in the 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Deployment clone()
-
-