public class ActionExecution extends Object implements Serializable, Cloneable
Represents information about how an action runs.
Constructor and Description |
---|
ActionExecution() |
Modifier and Type | Method and Description |
---|---|
ActionExecution |
clone() |
boolean |
equals(Object obj) |
ErrorDetails |
getErrorDetails()
The details of an error returned by a URL external to AWS.
|
String |
getExternalExecutionId()
The external ID of the run of the action.
|
String |
getExternalExecutionUrl()
The URL of a resource external to AWS that will be used when running the
action, for example an external repository URL.
|
Date |
getLastStatusChange()
The last status change of the action.
|
Integer |
getPercentComplete()
A percentage of completeness of the action as it runs.
|
String |
getStatus()
The status of the action, or for a completed action, the last status of
the action.
|
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(String externalExecutionId)
The external ID of the run of the action.
|
void |
setExternalExecutionUrl(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(Date lastStatusChange)
The last status change of the action.
|
void |
setPercentComplete(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(String status)
The status of the action, or for a completed action, the last status of
the action.
|
void |
setSummary(String summary)
A summary of the run of the action.
|
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(String externalExecutionId)
The external ID of the run of the action.
|
ActionExecution |
withExternalExecutionUrl(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(Date lastStatusChange)
The last status change of the action.
|
ActionExecution |
withPercentComplete(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(String status)
The status of the action, or for a completed action, the last status of
the action.
|
ActionExecution |
withSummary(String summary)
A summary of the run of the action.
|
public void setStatus(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 String getStatus()
The status of the action, or for a completed action, the last status of the action.
ActionExecutionStatus
public ActionExecution withStatus(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(String summary)
A summary of the run of the action.
summary
- A summary of the run of the action.public String getSummary()
A summary of the run of the action.
public ActionExecution withSummary(String summary)
A summary of the run of the action.
summary
- A summary of the run of the action.public void setLastStatusChange(Date lastStatusChange)
The last status change of the action.
lastStatusChange
- The last status change of the action.public Date getLastStatusChange()
The last status change of the action.
public ActionExecution withLastStatusChange(Date lastStatusChange)
The last status change of the action.
lastStatusChange
- The last status change of the action.public void setExternalExecutionId(String externalExecutionId)
The external ID of the run of the action.
externalExecutionId
- The external ID of the run of the action.public String getExternalExecutionId()
The external ID of the run of the action.
public ActionExecution withExternalExecutionId(String externalExecutionId)
The external ID of the run of the action.
externalExecutionId
- The external ID of the run of the action.public void setExternalExecutionUrl(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 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(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(Integer percentComplete)
A percentage of completeness of the action as it runs.
percentComplete
- A percentage of completeness of the action as it runs.public Integer getPercentComplete()
A percentage of completeness of the action as it runs.
public ActionExecution withPercentComplete(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 String toString()
toString
in class Object
Object.toString()
public ActionExecution clone()
Copyright © 2015. All rights reserved.