public class DeploymentInfo extends Object implements Serializable, Cloneable
Information about a deployment.
Constructor and Description |
---|
DeploymentInfo() |
Modifier and Type | Method and Description |
---|---|
DeploymentInfo |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationName()
The application name.
|
Date |
getCompleteTime()
A timestamp indicating when the deployment was complete.
|
Date |
getCreateTime()
A timestamp indicating when the deployment was created.
|
String |
getCreator()
The means by which the deployment was created:
|
String |
getDeploymentConfigName()
The deployment configuration name.
|
String |
getDeploymentGroupName()
The deployment group name.
|
String |
getDeploymentId()
The deployment ID.
|
DeploymentOverview |
getDeploymentOverview()
A summary of the deployment status of the instances in the deployment.
|
String |
getDescription()
A comment about the deployment.
|
ErrorInformation |
getErrorInformation()
Information about any error associated with this deployment.
|
Boolean |
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.
|
RevisionLocation |
getRevision()
Information about the location of stored application artifacts and the
service from which to retrieve them.
|
Date |
getStartTime()
A timestamp indicating when the deployment was deployed to the deployment
group.
|
String |
getStatus()
The current state of the deployment as a whole.
|
int |
hashCode() |
Boolean |
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.
|
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 |
setStatus(String status)
The current state of the deployment as a whole.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeploymentInfo |
withApplicationName(String applicationName)
The application name.
|
DeploymentInfo |
withCompleteTime(Date completeTime)
A timestamp indicating when the deployment was complete.
|
DeploymentInfo |
withCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
|
DeploymentInfo |
withCreator(DeploymentCreator creator)
The means by which the deployment was created:
|
DeploymentInfo |
withCreator(String creator)
The means by which the deployment was created:
|
DeploymentInfo |
withDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
|
DeploymentInfo |
withDeploymentGroupName(String deploymentGroupName)
The deployment group name.
|
DeploymentInfo |
withDeploymentId(String deploymentId)
The deployment ID.
|
DeploymentInfo |
withDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
|
DeploymentInfo |
withDescription(String description)
A comment about the deployment.
|
DeploymentInfo |
withErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
|
DeploymentInfo |
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.
|
DeploymentInfo |
withRevision(RevisionLocation revision)
Information about the location of stored application artifacts and the
service from which to retrieve them.
|
DeploymentInfo |
withStartTime(Date startTime)
A timestamp indicating when the deployment was deployed to the deployment
group.
|
DeploymentInfo |
withStatus(DeploymentStatus status)
The current state of the deployment as a whole.
|
DeploymentInfo |
withStatus(String status)
The current state of the deployment as a whole.
|
public void setApplicationName(String applicationName)
The application name.
applicationName
- The application name.public String getApplicationName()
The application name.
public DeploymentInfo withApplicationName(String applicationName)
The application name.
applicationName
- The application name.public void setDeploymentGroupName(String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public String getDeploymentGroupName()
The deployment group name.
public DeploymentInfo withDeploymentGroupName(String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public void setDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public String getDeploymentConfigName()
The deployment configuration name.
public DeploymentInfo withDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public void setDeploymentId(String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.public String getDeploymentId()
The deployment ID.
public DeploymentInfo withDeploymentId(String deploymentId)
The deployment ID.
deploymentId
- The deployment ID.public void setRevision(RevisionLocation revision)
Information about the location of stored application artifacts and the service from which to retrieve them.
revision
- Information about the location of stored application artifacts and
the service from which to retrieve them.public RevisionLocation getRevision()
Information about the location of stored application artifacts and the service from which to retrieve them.
public DeploymentInfo withRevision(RevisionLocation revision)
Information about the location of stored application artifacts and the service from which to retrieve them.
revision
- Information about the location of stored application artifacts and
the service from which to retrieve them.public void setStatus(String status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public String getStatus()
The current state of the deployment as a whole.
DeploymentStatus
public DeploymentInfo withStatus(String status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public void setStatus(DeploymentStatus status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public DeploymentInfo withStatus(DeploymentStatus status)
The current state of the deployment as a whole.
status
- The current state of the deployment as a whole.DeploymentStatus
public void setErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
errorInformation
- Information about any error associated with this deployment.public ErrorInformation getErrorInformation()
Information about any error associated with this deployment.
public DeploymentInfo withErrorInformation(ErrorInformation errorInformation)
Information about any error associated with this deployment.
errorInformation
- Information about any error associated with this deployment.public void setCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
createTime
- A timestamp indicating when the deployment was created.public Date getCreateTime()
A timestamp indicating when the deployment was created.
public DeploymentInfo withCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
createTime
- A timestamp indicating when the deployment was created.public void setStartTime(Date 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.
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.
public Date 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.
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.
public DeploymentInfo withStartTime(Date 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.
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.
public void setCompleteTime(Date completeTime)
A timestamp indicating when the deployment was complete.
completeTime
- A timestamp indicating when the deployment was complete.public Date getCompleteTime()
A timestamp indicating when the deployment was complete.
public DeploymentInfo withCompleteTime(Date completeTime)
A timestamp indicating when the deployment was complete.
completeTime
- A timestamp indicating when the deployment was complete.public void setDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
deploymentOverview
- A summary of the deployment status of the instances in the
deployment.public DeploymentOverview getDeploymentOverview()
A summary of the deployment status of the instances in the deployment.
public DeploymentInfo withDeploymentOverview(DeploymentOverview deploymentOverview)
A summary of the deployment status of the instances in the deployment.
deploymentOverview
- A summary of the deployment status of the instances in the
deployment.public void setDescription(String description)
A comment about the deployment.
description
- A comment about the deployment.public String getDescription()
A comment about the deployment.
public DeploymentInfo withDescription(String description)
A comment about the deployment.
description
- A comment about the deployment.public void setCreator(String creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public String getCreator()
The means by which the deployment was created:
DeploymentCreator
public DeploymentInfo withCreator(String creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public void setCreator(DeploymentCreator creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public DeploymentInfo withCreator(DeploymentCreator creator)
The means by which the deployment was created:
creator
- The means by which the deployment was created:
DeploymentCreator
public 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.
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.
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.
public Boolean 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.
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.
public DeploymentInfo 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.
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.
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.
public Boolean 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.
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.
public String toString()
toString
in class Object
Object.toString()
public DeploymentInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.