public class UniqueProblem extends Object implements Serializable, Cloneable
A collection of one or more problems, grouped by their result.
Constructor and Description |
---|
UniqueProblem() |
Modifier and Type | Method and Description |
---|---|
UniqueProblem |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A message about the unique problems' result.
|
List<Problem> |
getProblems()
Information about the problems.
|
int |
hashCode() |
void |
setMessage(String message)
A message about the unique problems' result.
|
void |
setProblems(Collection<Problem> problems)
Information about the problems.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UniqueProblem |
withMessage(String message)
A message about the unique problems' result.
|
UniqueProblem |
withProblems(Collection<Problem> problems)
Information about the problems.
|
UniqueProblem |
withProblems(Problem... problems)
Information about the problems.
|
public void setMessage(String message)
A message about the unique problems' result.
message
- A message about the unique problems' result.public String getMessage()
A message about the unique problems' result.
public UniqueProblem withMessage(String message)
A message about the unique problems' result.
message
- A message about the unique problems' result.public List<Problem> getProblems()
Information about the problems.
public void setProblems(Collection<Problem> problems)
Information about the problems.
problems
- Information about the problems.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.
problems
- Information about the problems.public UniqueProblem withProblems(Collection<Problem> problems)
Information about the problems.
problems
- Information about the problems.public String toString()
toString
in class Object
Object.toString()
public UniqueProblem clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.