Class DeploymentInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a deployment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The application name.A timestamp indicating when the deployment was complete.A timestamp indicating when the deployment was created.The means by which the deployment was created:The deployment configuration name.The deployment group name.The deployment ID.A summary of the deployment status of the instances in the deployment.A comment about the deployment.Information about any error associated with this deployment.If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.Information about the location of stored application artifacts and the service from which to retrieve them.A timestamp indicating when the deployment was deployed to the deployment group.The current state of the deployment as a whole.int
hashCode()
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.void
setApplicationName
(String applicationName) The application name.void
setCompleteTime
(Date completeTime) A timestamp indicating when the deployment was complete.void
setCreateTime
(Date createTime) A timestamp indicating when the deployment was created.void
setCreator
(DeploymentCreator creator) The means by which the deployment was created:void
setCreator
(String creator) The means by which the deployment was created:void
setDeploymentConfigName
(String deploymentConfigName) The deployment configuration name.void
setDeploymentGroupName
(String deploymentGroupName) The deployment group name.void
setDeploymentId
(String deploymentId) The deployment ID.void
setDeploymentOverview
(DeploymentOverview deploymentOverview) A summary of the deployment status of the instances in the deployment.void
setDescription
(String description) A comment about the deployment.void
setErrorInformation
(ErrorInformation errorInformation) Information about any error associated with this deployment.void
setIgnoreApplicationStopFailures
(Boolean ignoreApplicationStopFailures) If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.void
setRevision
(RevisionLocation revision) Information about the location of stored application artifacts and the service from which to retrieve them.void
setStartTime
(Date startTime) A timestamp indicating when the deployment was deployed to the deployment group.void
setStatus
(DeploymentStatus status) The current state of the deployment as a whole.void
The current state of the deployment as a whole.toString()
Returns a string representation of this object; useful for testing and debugging.withApplicationName
(String applicationName) The application name.withCompleteTime
(Date completeTime) A timestamp indicating when the deployment was complete.withCreateTime
(Date createTime) A timestamp indicating when the deployment was created.withCreator
(DeploymentCreator creator) The means by which the deployment was created:withCreator
(String creator) The means by which the deployment was created:withDeploymentConfigName
(String deploymentConfigName) The deployment configuration name.withDeploymentGroupName
(String deploymentGroupName) The deployment group name.withDeploymentId
(String deploymentId) The deployment ID.withDeploymentOverview
(DeploymentOverview deploymentOverview) A summary of the deployment status of the instances in the deployment.withDescription
(String description) A comment about the deployment.withErrorInformation
(ErrorInformation errorInformation) Information about any error associated with this deployment.withIgnoreApplicationStopFailures
(Boolean ignoreApplicationStopFailures) If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.withRevision
(RevisionLocation revision) Information about the location of stored application artifacts and the service from which to retrieve them.withStartTime
(Date startTime) A timestamp indicating when the deployment was deployed to the deployment group.withStatus
(DeploymentStatus status) The current state of the deployment as a whole.withStatus
(String status) The current state of the deployment as a whole.
-
Constructor Details
-
DeploymentInfo
public DeploymentInfo()
-
-
Method Details
-
setApplicationName
The application name.
- Parameters:
applicationName
- The application name.
-
getApplicationName
The application name.
- Returns:
- The application name.
-
withApplicationName
The application name.
- Parameters:
applicationName
- The application name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentGroupName
The deployment group name.
- Parameters:
deploymentGroupName
- The deployment group name.
-
getDeploymentGroupName
The deployment group name.
- Returns:
- The deployment group name.
-
withDeploymentGroupName
The deployment group name.
- Parameters:
deploymentGroupName
- The deployment group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentConfigName
The deployment configuration name.
- Parameters:
deploymentConfigName
- The deployment configuration name.
-
getDeploymentConfigName
The deployment configuration name.
- Returns:
- The deployment configuration name.
-
withDeploymentConfigName
The deployment configuration name.
- Parameters:
deploymentConfigName
- The deployment configuration name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentId
The deployment ID.
- Parameters:
deploymentId
- The deployment ID.
-
getDeploymentId
The deployment ID.
- Returns:
- The deployment ID.
-
withDeploymentId
The deployment ID.
- Parameters:
deploymentId
- The deployment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRevision
Information about the location of stored application artifacts and the service from which to retrieve them.
- Parameters:
revision
- Information about the location of stored application artifacts and the service from which to retrieve them.
-
getRevision
Information about the location of stored application artifacts and the service from which to retrieve them.
- Returns:
- Information about the location of stored application artifacts and the service from which to retrieve them.
-
withRevision
Information about the location of stored application artifacts and the service from which to retrieve them.
- Parameters:
revision
- Information about the location of stored application artifacts and the service from which to retrieve them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The current state of the deployment as a whole.
- Parameters:
status
- The current state of the deployment as a whole.- See Also:
-
getStatus
The current state of the deployment as a whole.
- Returns:
- The current state of the deployment as a whole.
- See Also:
-
withStatus
The current state of the deployment as a whole.
- Parameters:
status
- The current state of the deployment as a whole.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The current state of the deployment as a whole.
- Parameters:
status
- The current state of the deployment as a whole.- See Also:
-
withStatus
The current state of the deployment as a whole.
- Parameters:
status
- The current state of the deployment as a whole.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setErrorInformation
Information about any error associated with this deployment.
- Parameters:
errorInformation
- Information about any error associated with this deployment.
-
getErrorInformation
Information about any error associated with this deployment.
- Returns:
- Information about any error associated with this deployment.
-
withErrorInformation
Information about any error associated with this deployment.
- Parameters:
errorInformation
- Information about any error associated with this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreateTime
A timestamp indicating when the deployment was created.
- Parameters:
createTime
- A timestamp indicating when the deployment was created.
-
getCreateTime
A timestamp indicating when the deployment was created.
- Returns:
- A timestamp indicating when the deployment was created.
-
withCreateTime
A timestamp indicating when the deployment was created.
- Parameters:
createTime
- A timestamp indicating when the deployment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartTime
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
- Parameters:
startTime
- A timestamp indicating when the deployment was deployed to the deployment group.In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
-
getStartTime
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
- Returns:
- A timestamp indicating when the deployment was deployed to the
deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
-
withStartTime
A timestamp indicating when the deployment was deployed to the deployment group.
In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
- Parameters:
startTime
- A timestamp indicating when the deployment was deployed to the deployment group.In some cases, the reported value of the start time may be later than the complete time. This is due to differences in the clock settings of back-end servers that participate in the deployment process.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompleteTime
A timestamp indicating when the deployment was complete.
- Parameters:
completeTime
- A timestamp indicating when the deployment was complete.
-
getCompleteTime
A timestamp indicating when the deployment was complete.
- Returns:
- A timestamp indicating when the deployment was complete.
-
withCompleteTime
A timestamp indicating when the deployment was complete.
- Parameters:
completeTime
- A timestamp indicating when the deployment was complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentOverview
A summary of the deployment status of the instances in the deployment.
- Parameters:
deploymentOverview
- A summary of the deployment status of the instances in the deployment.
-
getDeploymentOverview
A summary of the deployment status of the instances in the deployment.
- Returns:
- A summary of the deployment status of the instances in the deployment.
-
withDeploymentOverview
A summary of the deployment status of the instances in the deployment.
- Parameters:
deploymentOverview
- A summary of the deployment status of the instances in the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A comment about the deployment.
- Parameters:
description
- A comment about the deployment.
-
getDescription
A comment about the deployment.
- Returns:
- A comment about the deployment.
-
withDescription
A comment about the deployment.
- Parameters:
description
- A comment about the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreator
The means by which the deployment was created:
- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- Parameters:
creator
- The means by which the deployment was created:- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- See Also:
-
getCreator
The means by which the deployment was created:
- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- Returns:
- The means by which the deployment was created:
- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- See Also:
-
withCreator
The means by which the deployment was created:
- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- Parameters:
creator
- The means by which the deployment was created:- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCreator
The means by which the deployment was created:
- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- Parameters:
creator
- The means by which the deployment was created:- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- See Also:
-
withCreator
The means by which the deployment was created:
- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- Parameters:
creator
- The means by which the deployment was created:- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setIgnoreApplicationStopFailures
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
- Parameters:
ignoreApplicationStopFailures
- If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
-
getIgnoreApplicationStopFailures
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
- Returns:
- If true, then if the deployment causes the ApplicationStop
deployment lifecycle event to an instance to fail, the deployment
to that instance will not be considered to have failed at that
point and will continue on to the BeforeInstall deployment
lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
-
withIgnoreApplicationStopFailures
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
- Parameters:
ignoreApplicationStopFailures
- If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isIgnoreApplicationStopFailures
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed at that point and will continue on to the BeforeInstall deployment lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
- Returns:
- If true, then if the deployment causes the ApplicationStop
deployment lifecycle event to an instance to fail, the deployment
to that instance will not be considered to have failed at that
point and will continue on to the BeforeInstall deployment
lifecycle event.
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-