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 Deployment
clone()
boolean
equals(Object obj)
Long
getDeploymentId()
The ID of the deployment.Date
getDeploymentTime()
For in-progress deployments, the time that the deloyment started.String
getStatus()
The status of the deployment:String
getVersionLabel()
The version label of the application version in the deployment.int
hashCode()
void
setDeploymentId(Long deploymentId)
The ID of the deployment.void
setDeploymentTime(Date deploymentTime)
For in-progress deployments, the time that the deloyment started.void
setStatus(String status)
The status of the deployment:void
setVersionLabel(String versionLabel)
The version label of the application version in the deployment.String
toString()
Returns a string representation of this object; useful for testing and debugging.Deployment
withDeploymentId(Long deploymentId)
The ID of the deployment.Deployment
withDeploymentTime(Date deploymentTime)
For in-progress deployments, the time that the deloyment started.Deployment
withStatus(String status)
The status of the deployment:Deployment
withVersionLabel(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Deployment clone()
-
-