public class DeploymentInfo extends Object implements Serializable
Information about a deployment.
Constructor and Description |
---|
DeploymentInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getApplicationName()
The application name.
|
Date |
getCompleteTime()
A timestamp indicating when the deployment was completed.
|
Date |
getCreateTime()
A timestamp indicating when the deployment was created.
|
String |
getCreator()
How the deployment was created: user: A user created the
deployment. autoscaling: Auto Scaling created the
deployment.
|
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 fail to a specific instance, the deployment will
not be considered to have failed to that instance at that point and
will continue on to the BeforeInstall deployment lifecycle event.
|
RevisionLocation |
getRevision()
Information about the location of application artifacts that are
stored and the service to retrieve them from.
|
Date |
getStartTime()
A timestamp indicating when the deployment began deploying 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 fail to a specific instance, the deployment will
not be considered to have failed to that instance 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 completed.
|
void |
setCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
|
void |
setCreator(DeploymentCreator creator)
How the deployment was created: user: A user created the
deployment. autoscaling: Auto Scaling created the
deployment.
|
void |
setCreator(String creator)
How the deployment was created: user: A user created the
deployment. autoscaling: Auto Scaling created the
deployment.
|
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 fail to a specific instance, the deployment will
not be considered to have failed to that instance at that point and
will continue on to the BeforeInstall deployment lifecycle event.
|
void |
setRevision(RevisionLocation revision)
Information about the location of application artifacts that are
stored and the service to retrieve them from.
|
void |
setStartTime(Date startTime)
A timestamp indicating when the deployment began deploying 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 completed.
|
DeploymentInfo |
withCreateTime(Date createTime)
A timestamp indicating when the deployment was created.
|
DeploymentInfo |
withCreator(DeploymentCreator creator)
How the deployment was created: user: A user created the
deployment. autoscaling: Auto Scaling created the
deployment.
|
DeploymentInfo |
withCreator(String creator)
How the deployment was created: user: A user created the
deployment. autoscaling: Auto Scaling created the
deployment.
|
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 fail to a specific instance, the deployment will
not be considered to have failed to that instance at that point and
will continue on to the BeforeInstall deployment lifecycle event.
|
DeploymentInfo |
withRevision(RevisionLocation revision)
Information about the location of application artifacts that are
stored and the service to retrieve them from.
|
DeploymentInfo |
withStartTime(Date startTime)
A timestamp indicating when the deployment began deploying 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 String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The application name.public DeploymentInfo withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The application name.public String getDeploymentGroupName()
Constraints:
Length: 1 - 100
public void setDeploymentGroupName(String deploymentGroupName)
Constraints:
Length: 1 - 100
deploymentGroupName
- The deployment group name.public DeploymentInfo withDeploymentGroupName(String deploymentGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentGroupName
- The deployment group name.public String getDeploymentConfigName()
Constraints:
Length: 1 - 100
public void setDeploymentConfigName(String deploymentConfigName)
Constraints:
Length: 1 - 100
deploymentConfigName
- The deployment configuration name.public DeploymentInfo withDeploymentConfigName(String deploymentConfigName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentConfigName
- The deployment configuration name.public String getDeploymentId()
public void setDeploymentId(String deploymentId)
deploymentId
- The deployment ID.public DeploymentInfo withDeploymentId(String deploymentId)
Returns a reference to this object so that method calls can be chained together.
deploymentId
- The deployment ID.public RevisionLocation getRevision()
public void setRevision(RevisionLocation revision)
revision
- Information about the location of application artifacts that are
stored and the service to retrieve them from.public DeploymentInfo withRevision(RevisionLocation revision)
Returns a reference to this object so that method calls can be chained together.
revision
- Information about the location of application artifacts that are
stored and the service to retrieve them from.public String getStatus()
Constraints:
Allowed Values: Created, Queued, InProgress, Succeeded, Failed, Stopped
DeploymentStatus
public void setStatus(String status)
Constraints:
Allowed Values: Created, Queued, InProgress, Succeeded, Failed, Stopped
status
- The current state of the deployment as a whole.DeploymentStatus
public DeploymentInfo withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Created, Queued, InProgress, Succeeded, Failed, Stopped
status
- The current state of the deployment as a whole.DeploymentStatus
public void setStatus(DeploymentStatus status)
Constraints:
Allowed Values: Created, Queued, InProgress, Succeeded, Failed, Stopped
status
- The current state of the deployment as a whole.DeploymentStatus
public DeploymentInfo withStatus(DeploymentStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Created, Queued, InProgress, Succeeded, Failed, Stopped
status
- The current state of the deployment as a whole.DeploymentStatus
public ErrorInformation getErrorInformation()
public void setErrorInformation(ErrorInformation errorInformation)
errorInformation
- Information about any error associated with this deployment.public DeploymentInfo withErrorInformation(ErrorInformation errorInformation)
Returns a reference to this object so that method calls can be chained together.
errorInformation
- Information about any error associated with this deployment.public Date getCreateTime()
public void setCreateTime(Date createTime)
createTime
- A timestamp indicating when the deployment was created.public DeploymentInfo withCreateTime(Date createTime)
Returns a reference to this object so that method calls can be chained together.
createTime
- A timestamp indicating when the deployment was created.public Date getStartTime()
Note that 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 various back-end servers that participate in the overall deployment process.
Note that 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 various back-end servers that participate in the overall deployment process.
public void setStartTime(Date startTime)
Note that 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 various back-end servers that participate in the overall deployment process.
startTime
- A timestamp indicating when the deployment began deploying to the
deployment group. Note that 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 various back-end servers that participate in the overall deployment process.
public DeploymentInfo withStartTime(Date startTime)
Note that 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 various back-end servers that participate in the overall deployment process.
Returns a reference to this object so that method calls can be chained together.
startTime
- A timestamp indicating when the deployment began deploying to the
deployment group. Note that 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 various back-end servers that participate in the overall deployment process.
public Date getCompleteTime()
public void setCompleteTime(Date completeTime)
completeTime
- A timestamp indicating when the deployment was completed.public DeploymentInfo withCompleteTime(Date completeTime)
Returns a reference to this object so that method calls can be chained together.
completeTime
- A timestamp indicating when the deployment was completed.public DeploymentOverview getDeploymentOverview()
public void setDeploymentOverview(DeploymentOverview deploymentOverview)
deploymentOverview
- A summary of the deployment status of the instances in the deployment.public DeploymentInfo withDeploymentOverview(DeploymentOverview deploymentOverview)
Returns a reference to this object so that method calls can be chained together.
deploymentOverview
- A summary of the deployment status of the instances in the deployment.public String getDescription()
public void setDescription(String description)
description
- A comment about the deployment.public DeploymentInfo withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A comment about the deployment.public String getCreator()
Constraints:
Allowed Values: user, autoscaling
DeploymentCreator
public void setCreator(String creator)
Constraints:
Allowed Values: user, autoscaling
creator
- How the deployment was created: DeploymentCreator
public DeploymentInfo withCreator(String creator)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: user, autoscaling
creator
- How the deployment was created: DeploymentCreator
public void setCreator(DeploymentCreator creator)
Constraints:
Allowed Values: user, autoscaling
creator
- How the deployment was created: DeploymentCreator
public DeploymentInfo withCreator(DeploymentCreator creator)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: user, autoscaling
creator
- How the deployment was created: DeploymentCreator
public Boolean isIgnoreApplicationStopFailures()
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, 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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public void setIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, 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 fail to a specific instance, the deployment will
not be considered to have failed to that instance 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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public DeploymentInfo withIgnoreApplicationStopFailures(Boolean ignoreApplicationStopFailures)
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
Returns a reference to this object so that method calls can be chained together.
ignoreApplicationStopFailures
- If true, then if the deployment causes the ApplicationStop deployment
lifecycle event to fail to a specific instance, the deployment will
not be considered to have failed to that instance 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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public Boolean getIgnoreApplicationStopFailures()
If false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, 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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.