public class Deployment
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about an application version deployment.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
deploymentId
The ID of the deployment.
|
private java.util.Date |
deploymentTime
For in-progress deployments, the time that the deloyment started.
|
private java.lang.String |
status
The status of the deployment:
|
private java.lang.String |
versionLabel
The version label of the application version in the deployment.
|
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDeploymentId()
The ID of the deployment.
|
java.util.Date |
getDeploymentTime()
For in-progress deployments, the time that the deloyment started.
|
java.lang.String |
getStatus()
The status of the deployment:
|
java.lang.String |
getVersionLabel()
The version label of the application version in the deployment.
|
int |
hashCode() |
void |
setDeploymentId(java.lang.Long deploymentId)
The ID of the deployment.
|
void |
setDeploymentTime(java.util.Date deploymentTime)
For in-progress deployments, the time that the deloyment started.
|
void |
setStatus(java.lang.String status)
The status of the deployment:
|
void |
setVersionLabel(java.lang.String versionLabel)
The version label of the application version in the deployment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Deployment |
withDeploymentId(java.lang.Long deploymentId)
The ID of the deployment.
|
Deployment |
withDeploymentTime(java.util.Date deploymentTime)
For in-progress deployments, the time that the deloyment started.
|
Deployment |
withStatus(java.lang.String status)
The status of the deployment:
|
Deployment |
withVersionLabel(java.lang.String versionLabel)
The version label of the application version in the deployment.
|
private java.lang.String versionLabel
The version label of the application version in the deployment.
private java.lang.Long deploymentId
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
private java.lang.String status
The status of the deployment:
In Progress
: The deployment is in progress.Deployed
: The deployment succeeded.Failed
: The deployment failed.private java.util.Date deploymentTime
For in-progress deployments, the time that the deloyment started.
For completed deployments, the time that the deployment ended.
public void setVersionLabel(java.lang.String versionLabel)
The version label of the application version in the deployment.
versionLabel
- The version label of the application version in the deployment.public java.lang.String getVersionLabel()
The version label of the application version in the deployment.
public Deployment withVersionLabel(java.lang.String versionLabel)
The version label of the application version in the deployment.
versionLabel
- The version label of the application version in the deployment.public void setDeploymentId(java.lang.Long deploymentId)
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
deploymentId
- The ID of the deployment. This number increases by one each time
that you deploy source code or change instance configuration
settings.public java.lang.Long getDeploymentId()
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
public Deployment withDeploymentId(java.lang.Long deploymentId)
The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
deploymentId
- The ID of the deployment. This number increases by one each time
that you deploy source code or change instance configuration
settings.public void setStatus(java.lang.String status)
The status of the deployment:
In Progress
: The deployment is in progress.Deployed
: The deployment succeeded.Failed
: The deployment failed.status
- The status of the deployment:
In Progress
: The deployment is in progress.Deployed
: The deployment succeeded.Failed
: The deployment failed.public java.lang.String getStatus()
The status of the deployment:
In Progress
: The deployment is in progress.Deployed
: The deployment succeeded.Failed
: The deployment failed.In Progress
: The deployment is in progress.Deployed
: The deployment succeeded.Failed
: The deployment failed.public Deployment withStatus(java.lang.String status)
The status of the deployment:
In Progress
: The deployment is in progress.Deployed
: The deployment succeeded.Failed
: The deployment failed.status
- The status of the deployment:
In Progress
: The deployment is in progress.Deployed
: The deployment succeeded.Failed
: The deployment failed.public void setDeploymentTime(java.util.Date deploymentTime)
For in-progress deployments, the time that the deloyment started.
For completed deployments, the time that the deployment ended.
deploymentTime
- For in-progress deployments, the time that the deloyment
started.
For completed deployments, the time that the deployment ended.
public java.util.Date getDeploymentTime()
For in-progress deployments, the time that the deloyment started.
For completed deployments, the time that the deployment ended.
For completed deployments, the time that the deployment ended.
public Deployment withDeploymentTime(java.util.Date deploymentTime)
For in-progress deployments, the time that the deloyment started.
For completed deployments, the time that the deployment ended.
deploymentTime
- For in-progress deployments, the time that the deloyment
started.
For completed deployments, the time that the deployment ended.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Deployment clone()
clone
in class java.lang.Object