public class ActionExecution extends Object implements Serializable, Cloneable
Represents information about the run of an action.
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.
|
String |
getLastUpdatedBy()
The ARN of the user who last changed the pipeline.
|
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.
|
String |
getToken()
The system-generated token used to identify a unique approval request.
|
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 |
setLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
|
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.
|
void |
setToken(String token)
The system-generated token used to identify a unique approval request.
|
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 |
withLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
|
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.
|
ActionExecution |
withToken(String token)
The system-generated token used to identify a unique approval request.
|
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 setToken(String token)
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState command and is used to validate that the approval request corresponding to this token is still valid.
token
- The system-generated token used to identify a unique approval
request. The token for each open approval request can be obtained
using the GetPipelineState command and is used to validate that
the approval request corresponding to this token is still valid.public String getToken()
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState command and is used to validate that the approval request corresponding to this token is still valid.
public ActionExecution withToken(String token)
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState command and is used to validate that the approval request corresponding to this token is still valid.
token
- The system-generated token used to identify a unique approval
request. The token for each open approval request can be obtained
using the GetPipelineState command and is used to validate that
the approval request corresponding to this token is still valid.public void setLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
lastUpdatedBy
- The ARN of the user who last changed the pipeline.public String getLastUpdatedBy()
The ARN of the user who last changed the pipeline.
public ActionExecution withLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
lastUpdatedBy
- The ARN of the user who last changed the pipeline.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 © 2013 Amazon Web Services, Inc. All Rights Reserved.