public class ActionExecution
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about how an action runs.
Modifier and Type | Field and Description |
---|---|
private ErrorDetails |
errorDetails
The details of an error returned by a URL external to AWS.
|
private java.lang.String |
externalExecutionId
The external ID of the run of the action.
|
private java.lang.String |
externalExecutionUrl
The URL of a resource external to AWS that will be used when running the
action, for example an external repository URL.
|
private java.util.Date |
lastStatusChange
The last status change of the action.
|
private java.lang.Integer |
percentComplete
A percentage of completeness of the action as it runs.
|
private java.lang.String |
status
The status of the action, or for a completed action, the last status of
the action.
|
private java.lang.String |
summary
A summary of the run of the action.
|
Constructor and Description |
---|
ActionExecution() |
Modifier and Type | Method and Description |
---|---|
ActionExecution |
clone() |
boolean |
equals(java.lang.Object obj) |
ErrorDetails |
getErrorDetails()
The details of an error returned by a URL external to AWS.
|
java.lang.String |
getExternalExecutionId()
The external ID of the run of the action.
|
java.lang.String |
getExternalExecutionUrl()
The URL of a resource external to AWS that will be used when running the
action, for example an external repository URL.
|
java.util.Date |
getLastStatusChange()
The last status change of the action.
|
java.lang.Integer |
getPercentComplete()
A percentage of completeness of the action as it runs.
|
java.lang.String |
getStatus()
The status of the action, or for a completed action, the last status of
the action.
|
java.lang.String |
getSummary()
A summary of the run of the action.
|
int |
hashCode() |
void |
setErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to AWS.
|
void |
setExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action.
|
void |
setExternalExecutionUrl(java.lang.String externalExecutionUrl)
The URL of a resource external to AWS that will be used when running the
action, for example an external repository URL.
|
void |
setLastStatusChange(java.util.Date lastStatusChange)
The last status change of the action.
|
void |
setPercentComplete(java.lang.Integer percentComplete)
A percentage of completeness of the action as it runs.
|
void |
setStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of
the action.
|
void |
setStatus(java.lang.String status)
The status of the action, or for a completed action, the last status of
the action.
|
void |
setSummary(java.lang.String summary)
A summary of the run of the action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActionExecution |
withErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to AWS.
|
ActionExecution |
withExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action.
|
ActionExecution |
withExternalExecutionUrl(java.lang.String externalExecutionUrl)
The URL of a resource external to AWS that will be used when running the
action, for example an external repository URL.
|
ActionExecution |
withLastStatusChange(java.util.Date lastStatusChange)
The last status change of the action.
|
ActionExecution |
withPercentComplete(java.lang.Integer percentComplete)
A percentage of completeness of the action as it runs.
|
ActionExecution |
withStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of
the action.
|
ActionExecution |
withStatus(java.lang.String status)
The status of the action, or for a completed action, the last status of
the action.
|
ActionExecution |
withSummary(java.lang.String summary)
A summary of the run of the action.
|
private java.lang.String status
The status of the action, or for a completed action, the last status of the action.
private java.lang.String summary
A summary of the run of the action.
private java.util.Date lastStatusChange
The last status change of the action.
private java.lang.String externalExecutionId
The external ID of the run of the action.
private java.lang.String externalExecutionUrl
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
private java.lang.Integer percentComplete
A percentage of completeness of the action as it runs.
private ErrorDetails errorDetails
The details of an error returned by a URL external to AWS.
public void setStatus(java.lang.String status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last
status of the action.ActionExecutionStatus
public java.lang.String getStatus()
The status of the action, or for a completed action, the last status of the action.
ActionExecutionStatus
public ActionExecution withStatus(java.lang.String status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last
status of the action.ActionExecutionStatus
public void setStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last
status of the action.ActionExecutionStatus
public ActionExecution withStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last
status of the action.ActionExecutionStatus
public void setSummary(java.lang.String summary)
A summary of the run of the action.
summary
- A summary of the run of the action.public java.lang.String getSummary()
A summary of the run of the action.
public ActionExecution withSummary(java.lang.String summary)
A summary of the run of the action.
summary
- A summary of the run of the action.public void setLastStatusChange(java.util.Date lastStatusChange)
The last status change of the action.
lastStatusChange
- The last status change of the action.public java.util.Date getLastStatusChange()
The last status change of the action.
public ActionExecution withLastStatusChange(java.util.Date lastStatusChange)
The last status change of the action.
lastStatusChange
- The last status change of the action.public void setExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action.
externalExecutionId
- The external ID of the run of the action.public java.lang.String getExternalExecutionId()
The external ID of the run of the action.
public ActionExecution withExternalExecutionId(java.lang.String externalExecutionId)
The external ID of the run of the action.
externalExecutionId
- The external ID of the run of the action.public void setExternalExecutionUrl(java.lang.String externalExecutionUrl)
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
externalExecutionUrl
- The URL of a resource external to AWS that will be used when
running the action, for example an external repository URL.public java.lang.String getExternalExecutionUrl()
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
public ActionExecution withExternalExecutionUrl(java.lang.String externalExecutionUrl)
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
externalExecutionUrl
- The URL of a resource external to AWS that will be used when
running the action, for example an external repository URL.public void setPercentComplete(java.lang.Integer percentComplete)
A percentage of completeness of the action as it runs.
percentComplete
- A percentage of completeness of the action as it runs.public java.lang.Integer getPercentComplete()
A percentage of completeness of the action as it runs.
public ActionExecution withPercentComplete(java.lang.Integer percentComplete)
A percentage of completeness of the action as it runs.
percentComplete
- A percentage of completeness of the action as it runs.public void setErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to AWS.
errorDetails
- The details of an error returned by a URL external to AWS.public ErrorDetails getErrorDetails()
The details of an error returned by a URL external to AWS.
public ActionExecution withErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to AWS.
errorDetails
- The details of an error returned by a URL external to AWS.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ActionExecution clone()
clone
in class java.lang.Object