@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastDeploymentInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the most recent attempted or successful deployment to a deployment group.
| Constructor and Description |
|---|
LastDeploymentInfo() |
| Modifier and Type | Method and Description |
|---|---|
LastDeploymentInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
A timestamp that indicates when the most recent deployment to the deployment group started.
|
String |
getDeploymentId()
The unique ID of a deployment.
|
Date |
getEndTime()
A timestamp that indicates when the most recent deployment to the deployment group was complete.
|
String |
getStatus()
The status of the most recent deployment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCreateTime(Date createTime)
A timestamp that indicates when the most recent deployment to the deployment group started.
|
void |
setDeploymentId(String deploymentId)
The unique ID of a deployment.
|
void |
setEndTime(Date endTime)
A timestamp that indicates when the most recent deployment to the deployment group was complete.
|
void |
setStatus(DeploymentStatus status)
The status of the most recent deployment.
|
void |
setStatus(String status)
The status of the most recent deployment.
|
String |
toString()
Returns a string representation of this object.
|
LastDeploymentInfo |
withCreateTime(Date createTime)
A timestamp that indicates when the most recent deployment to the deployment group started.
|
LastDeploymentInfo |
withDeploymentId(String deploymentId)
The unique ID of a deployment.
|
LastDeploymentInfo |
withEndTime(Date endTime)
A timestamp that indicates when the most recent deployment to the deployment group was complete.
|
LastDeploymentInfo |
withStatus(DeploymentStatus status)
The status of the most recent deployment.
|
LastDeploymentInfo |
withStatus(String status)
The status of the most recent deployment.
|
public void setDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId - The unique ID of a deployment.public String getDeploymentId()
The unique ID of a deployment.
public LastDeploymentInfo withDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId - The unique ID of a deployment.public void setStatus(String status)
The status of the most recent deployment.
status - The status of the most recent deployment.DeploymentStatuspublic String getStatus()
The status of the most recent deployment.
DeploymentStatuspublic LastDeploymentInfo withStatus(String status)
The status of the most recent deployment.
status - The status of the most recent deployment.DeploymentStatuspublic void setStatus(DeploymentStatus status)
The status of the most recent deployment.
status - The status of the most recent deployment.DeploymentStatuspublic LastDeploymentInfo withStatus(DeploymentStatus status)
The status of the most recent deployment.
status - The status of the most recent deployment.DeploymentStatuspublic void setEndTime(Date endTime)
A timestamp that indicates when the most recent deployment to the deployment group was complete.
endTime - A timestamp that indicates when the most recent deployment to the deployment group was complete.public Date getEndTime()
A timestamp that indicates when the most recent deployment to the deployment group was complete.
public LastDeploymentInfo withEndTime(Date endTime)
A timestamp that indicates when the most recent deployment to the deployment group was complete.
endTime - A timestamp that indicates when the most recent deployment to the deployment group was complete.public void setCreateTime(Date createTime)
A timestamp that indicates when the most recent deployment to the deployment group started.
createTime - A timestamp that indicates when the most recent deployment to the deployment group started.public Date getCreateTime()
A timestamp that indicates when the most recent deployment to the deployment group started.
public LastDeploymentInfo withCreateTime(Date createTime)
A timestamp that indicates when the most recent deployment to the deployment group started.
createTime - A timestamp that indicates when the most recent deployment to the deployment group started.public String toString()
toString in class ObjectObject.toString()public LastDeploymentInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.