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 ActionExecutionclone()booleanequals(Object obj)ErrorDetailsgetErrorDetails()The details of an error returned by a URL external to AWS.StringgetExternalExecutionId()The external ID of the run of the action.StringgetExternalExecutionUrl()The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.DategetLastStatusChange()The last status change of the action.IntegergetPercentComplete()A percentage of completeness of the action as it runs.StringgetStatus()The status of the action, or for a completed action, the last status of the action.StringgetSummary()A summary of the run of the action.inthashCode()voidsetErrorDetails(ErrorDetails errorDetails)The details of an error returned by a URL external to AWS.voidsetExternalExecutionId(String externalExecutionId)The external ID of the run of the action.voidsetExternalExecutionUrl(String externalExecutionUrl)The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.voidsetLastStatusChange(Date lastStatusChange)The last status change of the action.voidsetPercentComplete(Integer percentComplete)A percentage of completeness of the action as it runs.voidsetStatus(ActionExecutionStatus status)The status of the action, or for a completed action, the last status of the action.voidsetStatus(String status)The status of the action, or for a completed action, the last status of the action.voidsetSummary(String summary)A summary of the run of the action.StringtoString()Returns a string representation of this object; useful for testing and debugging.ActionExecutionwithErrorDetails(ErrorDetails errorDetails)The details of an error returned by a URL external to AWS.ActionExecutionwithExternalExecutionId(String externalExecutionId)The external ID of the run of the action.ActionExecutionwithExternalExecutionUrl(String externalExecutionUrl)The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.ActionExecutionwithLastStatusChange(Date lastStatusChange)The last status change of the action.ActionExecutionwithPercentComplete(Integer percentComplete)A percentage of completeness of the action as it runs.ActionExecutionwithStatus(ActionExecutionStatus status)The status of the action, or for a completed action, the last status of the action.ActionExecutionwithStatus(String status)The status of the action, or for a completed action, the last status of the action.ActionExecutionwithSummary(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActionExecution clone()
-
-