Class UniqueProblem

java.lang.Object
com.amazonaws.services.devicefarm.model.UniqueProblem
All Implemented Interfaces:
Serializable, Cloneable

public class UniqueProblem extends Object implements Serializable, Cloneable

A collection of one or more problems, grouped by their result.

See Also:
  • Constructor Details

    • UniqueProblem

      public UniqueProblem()
  • Method Details

    • setMessage

      public void setMessage(String message)

      A message about the unique problems' result.

      Parameters:
      message - A message about the unique problems' result.
    • getMessage

      public String getMessage()

      A message about the unique problems' result.

      Returns:
      A message about the unique problems' result.
    • withMessage

      public UniqueProblem withMessage(String message)

      A message about the unique problems' result.

      Parameters:
      message - A message about the unique problems' result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getProblems

      public List<Problem> getProblems()

      Information about the problems.

      Returns:
      Information about the problems.
    • setProblems

      public void setProblems(Collection<Problem> problems)

      Information about the problems.

      Parameters:
      problems - Information about the problems.
    • withProblems

      public UniqueProblem withProblems(Problem... problems)

      Information about the problems.

      NOTE: This method appends the values to the existing list (if any). Use setProblems(java.util.Collection) or withProblems(java.util.Collection) if you want to override the existing values.

      Parameters:
      problems - Information about the problems.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withProblems

      public UniqueProblem withProblems(Collection<Problem> problems)

      Information about the problems.

      Parameters:
      problems - Information about the problems.
      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 UniqueProblem clone()
      Overrides:
      clone in class Object