@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UniqueProblem extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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 ObjectObject.toString()public UniqueProblem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.