Class ActionExecution
- All Implemented Interfaces:
Serializable
,Cloneable
Represents information about how an action runs.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The details of an error returned by a URL external to AWS.The external ID of the run of the action.The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.The last status change of the action.A percentage of completeness of the action as it runs.The status of the action, or for a completed action, the last status of the action.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withErrorDetails
(ErrorDetails errorDetails) The details of an error returned by a URL external to AWS.withExternalExecutionId
(String externalExecutionId) The external ID of the run of the action.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.withLastStatusChange
(Date lastStatusChange) The last status change of the action.withPercentComplete
(Integer percentComplete) A percentage of completeness of the action as it runs.withStatus
(ActionExecutionStatus status) The status of the action, or for a completed action, the last status of the action.withStatus
(String status) The status of the action, or for a completed action, the last status of the action.withSummary
(String summary) A summary of the run of the action.
-
Constructor Details
-
ActionExecution
public ActionExecution()
-
-
Method Details
-
setStatus
The status of the action, or for a completed action, the last status of the action.
- Parameters:
status
- The status of the action, or for a completed action, the last status of the action.- See Also:
-
getStatus
The status of the action, or for a completed action, the last status of the action.
- Returns:
- The status of the action, or for a completed action, the last status of the action.
- See Also:
-
withStatus
The status of the action, or for a completed action, the last status of the action.
- Parameters:
status
- The status of the action, or for a completed action, the last status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The status of the action, or for a completed action, the last status of the action.
- Parameters:
status
- The status of the action, or for a completed action, the last status of the action.- See Also:
-
withStatus
The status of the action, or for a completed action, the last status of the action.
- Parameters:
status
- The status of the action, or for a completed action, the last status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSummary
A summary of the run of the action.
- Parameters:
summary
- A summary of the run of the action.
-
getSummary
A summary of the run of the action.
- Returns:
- A summary of the run of the action.
-
withSummary
A summary of the run of the action.
- Parameters:
summary
- A summary of the run of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastStatusChange
The last status change of the action.
- Parameters:
lastStatusChange
- The last status change of the action.
-
getLastStatusChange
The last status change of the action.
- Returns:
- The last status change of the action.
-
withLastStatusChange
The last status change of the action.
- Parameters:
lastStatusChange
- The last status change of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalExecutionId
The external ID of the run of the action.
- Parameters:
externalExecutionId
- The external ID of the run of the action.
-
getExternalExecutionId
The external ID of the run of the action.
- Returns:
- The external ID of the run of the action.
-
withExternalExecutionId
The external ID of the run of the action.
- Parameters:
externalExecutionId
- The external ID of the run of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalExecutionUrl
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
- Parameters:
externalExecutionUrl
- The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
-
getExternalExecutionUrl
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
- Returns:
- The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
-
withExternalExecutionUrl
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
- Parameters:
externalExecutionUrl
- The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPercentComplete
A percentage of completeness of the action as it runs.
- Parameters:
percentComplete
- A percentage of completeness of the action as it runs.
-
getPercentComplete
A percentage of completeness of the action as it runs.
- Returns:
- A percentage of completeness of the action as it runs.
-
withPercentComplete
A percentage of completeness of the action as it runs.
- Parameters:
percentComplete
- A percentage of completeness of the action as it runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorDetails
The details of an error returned by a URL external to AWS.
- Parameters:
errorDetails
- The details of an error returned by a URL external to AWS.
-
getErrorDetails
The details of an error returned by a URL external to AWS.
- Returns:
- The details of an error returned by a URL external to AWS.
-
withErrorDetails
The details of an error returned by a URL external to AWS.
- Parameters:
errorDetails
- The details of an error returned by a URL external to AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-