@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentEvent extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes a deployment event.
| Constructor and Description |
|---|
DeploymentEvent() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentEvent |
clone() |
boolean |
equals(Object obj) |
List<ActionInvocation> |
getActionInvocations()
The list of extensions that were invoked as part of the deployment.
|
String |
getDescription()
A description of the deployment event.
|
String |
getEventType()
The type of deployment event.
|
Date |
getOccurredAt()
The date and time the event occurred.
|
String |
getTriggeredBy()
The entity that triggered the deployment event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActionInvocations(Collection<ActionInvocation> actionInvocations)
The list of extensions that were invoked as part of the deployment.
|
void |
setDescription(String description)
A description of the deployment event.
|
void |
setEventType(String eventType)
The type of deployment event.
|
void |
setOccurredAt(Date occurredAt)
The date and time the event occurred.
|
void |
setTriggeredBy(String triggeredBy)
The entity that triggered the deployment event.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentEvent |
withActionInvocations(ActionInvocation... actionInvocations)
The list of extensions that were invoked as part of the deployment.
|
DeploymentEvent |
withActionInvocations(Collection<ActionInvocation> actionInvocations)
The list of extensions that were invoked as part of the deployment.
|
DeploymentEvent |
withDescription(String description)
A description of the deployment event.
|
DeploymentEvent |
withEventType(DeploymentEventType eventType)
The type of deployment event.
|
DeploymentEvent |
withEventType(String eventType)
The type of deployment event.
|
DeploymentEvent |
withOccurredAt(Date occurredAt)
The date and time the event occurred.
|
DeploymentEvent |
withTriggeredBy(String triggeredBy)
The entity that triggered the deployment event.
|
DeploymentEvent |
withTriggeredBy(TriggeredBy triggeredBy)
The entity that triggered the deployment event.
|
public void setEventType(String eventType)
The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
eventType - The type of deployment event. Deployment event types include the start, stop, or completion of a
deployment; a percentage update; the start or stop of a bake period; and the start or completion of a
rollback.DeploymentEventTypepublic String getEventType()
The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
DeploymentEventTypepublic DeploymentEvent withEventType(String eventType)
The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
eventType - The type of deployment event. Deployment event types include the start, stop, or completion of a
deployment; a percentage update; the start or stop of a bake period; and the start or completion of a
rollback.DeploymentEventTypepublic DeploymentEvent withEventType(DeploymentEventType eventType)
The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
eventType - The type of deployment event. Deployment event types include the start, stop, or completion of a
deployment; a percentage update; the start or stop of a bake period; and the start or completion of a
rollback.DeploymentEventTypepublic void setTriggeredBy(String triggeredBy)
The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon
CloudWatch alarm, or an internal error.TriggeredBypublic String getTriggeredBy()
The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
TriggeredBypublic DeploymentEvent withTriggeredBy(String triggeredBy)
The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon
CloudWatch alarm, or an internal error.TriggeredBypublic DeploymentEvent withTriggeredBy(TriggeredBy triggeredBy)
The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon
CloudWatch alarm, or an internal error.TriggeredBypublic void setDescription(String description)
A description of the deployment event. Descriptions include, but are not limited to, the following:
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
The percentage of hosts that received the deployment.
A recommendation to attempt a new deployment (in the case of an internal error).
description - A description of the deployment event. Descriptions include, but are not limited to, the following:
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
The percentage of hosts that received the deployment.
A recommendation to attempt a new deployment (in the case of an internal error).
public String getDescription()
A description of the deployment event. Descriptions include, but are not limited to, the following:
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
The percentage of hosts that received the deployment.
A recommendation to attempt a new deployment (in the case of an internal error).
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
The percentage of hosts that received the deployment.
A recommendation to attempt a new deployment (in the case of an internal error).
public DeploymentEvent withDescription(String description)
A description of the deployment event. Descriptions include, but are not limited to, the following:
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
The percentage of hosts that received the deployment.
A recommendation to attempt a new deployment (in the case of an internal error).
description - A description of the deployment event. Descriptions include, but are not limited to, the following:
The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.
The percentage of hosts that received the deployment.
A recommendation to attempt a new deployment (in the case of an internal error).
public List<ActionInvocation> getActionInvocations()
The list of extensions that were invoked as part of the deployment.
public void setActionInvocations(Collection<ActionInvocation> actionInvocations)
The list of extensions that were invoked as part of the deployment.
actionInvocations - The list of extensions that were invoked as part of the deployment.public DeploymentEvent withActionInvocations(ActionInvocation... actionInvocations)
The list of extensions that were invoked as part of the deployment.
NOTE: This method appends the values to the existing list (if any). Use
setActionInvocations(java.util.Collection) or withActionInvocations(java.util.Collection) if
you want to override the existing values.
actionInvocations - The list of extensions that were invoked as part of the deployment.public DeploymentEvent withActionInvocations(Collection<ActionInvocation> actionInvocations)
The list of extensions that were invoked as part of the deployment.
actionInvocations - The list of extensions that were invoked as part of the deployment.public void setOccurredAt(Date occurredAt)
The date and time the event occurred.
occurredAt - The date and time the event occurred.public Date getOccurredAt()
The date and time the event occurred.
public DeploymentEvent withOccurredAt(Date occurredAt)
The date and time the event occurred.
occurredAt - The date and time the event occurred.public String toString()
toString in class ObjectObject.toString()public DeploymentEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.