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:
  • Constructor Details

    • ActionExecution

      public ActionExecution()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ActionExecution clone()
      Overrides:
      clone in class Object