@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Messages extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Messages() |
| Modifier and Type | Method and Description |
|---|---|
Messages |
clone() |
boolean |
equals(Object obj) |
List<String> |
getErrors()
A list of errors that might have been generated from processes on this flow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrors(Collection<String> errors)
A list of errors that might have been generated from processes on this flow.
|
String |
toString()
Returns a string representation of this object.
|
Messages |
withErrors(Collection<String> errors)
A list of errors that might have been generated from processes on this flow.
|
Messages |
withErrors(String... errors)
A list of errors that might have been generated from processes on this flow.
|
public List<String> getErrors()
public void setErrors(Collection<String> errors)
errors - A list of errors that might have been generated from processes on this flow.public Messages withErrors(String... errors)
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the
existing values.
errors - A list of errors that might have been generated from processes on this flow.public Messages withErrors(Collection<String> errors)
errors - A list of errors that might have been generated from processes on this flow.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.