Class ErrorDetails

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

public class ErrorDetails extends Object implements Serializable, Cloneable

Represents information about an error in AWS CodePipeline.

See Also:
  • Constructor Details

    • ErrorDetails

      public ErrorDetails()
  • Method Details

    • setCode

      public void setCode(String code)

      The system ID or error number code of the error.

      Parameters:
      code - The system ID or error number code of the error.
    • getCode

      public String getCode()

      The system ID or error number code of the error.

      Returns:
      The system ID or error number code of the error.
    • withCode

      public ErrorDetails withCode(String code)

      The system ID or error number code of the error.

      Parameters:
      code - The system ID or error number code of the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMessage

      public void setMessage(String message)

      The text of the error message.

      Parameters:
      message - The text of the error message.
    • getMessage

      public String getMessage()

      The text of the error message.

      Returns:
      The text of the error message.
    • withMessage

      public ErrorDetails withMessage(String message)

      The text of the error message.

      Parameters:
      message - The text of the error message.
      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 ErrorDetails clone()
      Overrides:
      clone in class Object