Class Deployment
- All Implemented Interfaces:
Serializable
,Cloneable
Information about an application version deployment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the deployment.For in-progress deployments, the time that the deloyment started.The status of the deployment: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
The status of the deployment:void
setVersionLabel
(String versionLabel) The version label of the application version in the deployment.toString()
Returns a string representation of this object; useful for testing and debugging.withDeploymentId
(Long deploymentId) The ID of the deployment.withDeploymentTime
(Date deploymentTime) For in-progress deployments, the time that the deloyment started.withStatus
(String status) The status of the deployment:withVersionLabel
(String versionLabel) The version label of the application version in the deployment.
-
Constructor Details
-
Deployment
public Deployment()
-
-
Method Details
-
setVersionLabel
The version label of the application version in the deployment.
- Parameters:
versionLabel
- The version label of the application version in the deployment.
-
getVersionLabel
The version label of the application version in the deployment.
- Returns:
- The version label of the application version in the deployment.
-
withVersionLabel
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
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
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-