Class FailureDetails

java.lang.Object
com.amazonaws.services.codepipeline.model.FailureDetails
All Implemented Interfaces:
Serializable, Cloneable

public class FailureDetails extends Object implements Serializable, Cloneable

Represents information about failure details.

See Also:
  • Constructor Details

    • FailureDetails

      public FailureDetails()
  • Method Details

    • setType

      public void setType(String type)

      The type of the failure.

      Parameters:
      type - The type of the failure.
      See Also:
    • getType

      public String getType()

      The type of the failure.

      Returns:
      The type of the failure.
      See Also:
    • withType

      public FailureDetails withType(String type)

      The type of the failure.

      Parameters:
      type - The type of the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(FailureType type)

      The type of the failure.

      Parameters:
      type - The type of the failure.
      See Also:
    • withType

      public FailureDetails withType(FailureType type)

      The type of the failure.

      Parameters:
      type - The type of the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setMessage

      public void setMessage(String message)

      The message about the failure.

      Parameters:
      message - The message about the failure.
    • getMessage

      public String getMessage()

      The message about the failure.

      Returns:
      The message about the failure.
    • withMessage

      public FailureDetails withMessage(String message)

      The message about the failure.

      Parameters:
      message - The message about the failure.
      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 that failed.

      Parameters:
      externalExecutionId - The external ID of the run of the action that failed.
    • getExternalExecutionId

      public String getExternalExecutionId()

      The external ID of the run of the action that failed.

      Returns:
      The external ID of the run of the action that failed.
    • withExternalExecutionId

      public FailureDetails withExternalExecutionId(String externalExecutionId)

      The external ID of the run of the action that failed.

      Parameters:
      externalExecutionId - The external ID of the run of the action that failed.
      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 FailureDetails clone()
      Overrides:
      clone in class Object