@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Deployment extends Object implements Serializable, Cloneable
Information about an application version deployment.
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
boolean |
equals(Object obj) |
Long |
getDeploymentId()
The ID of the deployment.
|
Date |
getDeploymentTime()
For in-progress deployments, the time that the deployment 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 deployment 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 deployment started.
|
Deployment |
withStatus(String status)
The status of the deployment:
|
Deployment |
withVersionLabel(String versionLabel)
The version label of the application version in the deployment.
|
public void setVersionLabel(String versionLabel)
The version label of the application version in the deployment.
versionLabel
- The version label of the application version in the deployment.public String getVersionLabel()
The version label of the application version in the deployment.
public Deployment withVersionLabel(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(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 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(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(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 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(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(Date deploymentTime)
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
deploymentTime
- For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
public Date getDeploymentTime()
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
For completed deployments, the time that the deployment ended.
public Deployment withDeploymentTime(Date deploymentTime)
For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
deploymentTime
- For in-progress deployments, the time that the deployment started.
For completed deployments, the time that the deployment ended.
public String toString()
toString
in class Object
Object.toString()
public Deployment clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.