Class UniqueProblem
java.lang.Object
com.amazonaws.services.devicefarm.model.UniqueProblem
- All Implemented Interfaces:
Serializable,Cloneable
A collection of one or more problems, grouped by their result.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA message about the unique problems' result.Information about the problems.inthashCode()voidsetMessage(String message) A message about the unique problems' result.voidsetProblems(Collection<Problem> problems) Information about the problems.toString()Returns a string representation of this object; useful for testing and debugging.withMessage(String message) A message about the unique problems' result.withProblems(Problem... problems) Information about the problems.withProblems(Collection<Problem> problems) Information about the problems.
-
Constructor Details
-
UniqueProblem
public UniqueProblem()
-
-
Method Details
-
setMessage
A message about the unique problems' result.
- Parameters:
message- A message about the unique problems' result.
-
getMessage
A message about the unique problems' result.
- Returns:
- A message about the unique problems' result.
-
withMessage
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
Information about the problems.
- Returns:
- Information about the problems.
-
setProblems
Information about the problems.
- Parameters:
problems- Information about the problems.
-
withProblems
Information about the problems.
NOTE: This method appends the values to the existing list (if any). Use
setProblems(java.util.Collection)orwithProblems(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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-