Class ActionExecution
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.ActionExecution
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ActionExecution extends Object implements Serializable, Cloneable
Represents information about how an action runs.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionExecution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
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:
ActionExecutionStatus
-
getStatus
public String 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:
ActionExecutionStatus
-
withStatus
public ActionExecution withStatus(String status)
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:
ActionExecutionStatus
-
setStatus
public void setStatus(ActionExecutionStatus status)
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:
ActionExecutionStatus
-
withStatus
public ActionExecution withStatus(ActionExecutionStatus status)
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:
ActionExecutionStatus
-
setSummary
public void setSummary(String summary)
A summary of the run of the action.
- Parameters:
summary
- A summary of the run of the action.
-
getSummary
public String getSummary()
A summary of the run of the action.
- Returns:
- A summary of the run of the action.
-
withSummary
public ActionExecution withSummary(String summary)
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
public void setLastStatusChange(Date lastStatusChange)
The last status change of the action.
- Parameters:
lastStatusChange
- The last status change of the action.
-
getLastStatusChange
public Date getLastStatusChange()
The last status change of the action.
- Returns:
- The last status change of the action.
-
withLastStatusChange
public ActionExecution withLastStatusChange(Date lastStatusChange)
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
public void setExternalExecutionId(String externalExecutionId)
The external ID of the run of the action.
- Parameters:
externalExecutionId
- The external ID of the run of the action.
-
getExternalExecutionId
public String getExternalExecutionId()
The external ID of the run of the action.
- Returns:
- The external ID of the run of the action.
-
withExternalExecutionId
public ActionExecution withExternalExecutionId(String externalExecutionId)
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
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.
- 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
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.
- Returns:
- The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
-
withExternalExecutionUrl
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.
- 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
public void setPercentComplete(Integer percentComplete)
A percentage of completeness of the action as it runs.
- Parameters:
percentComplete
- A percentage of completeness of the action as it runs.
-
getPercentComplete
public Integer getPercentComplete()
A percentage of completeness of the action as it runs.
- Returns:
- A percentage of completeness of the action as it runs.
-
withPercentComplete
public ActionExecution withPercentComplete(Integer percentComplete)
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
public void setErrorDetails(ErrorDetails errorDetails)
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
public ErrorDetails 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
public ActionExecution withErrorDetails(ErrorDetails errorDetails)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActionExecution clone()
-
-