@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
An object containing an error message, if there was an error.
| Constructor and Description |
|---|
ErrorDetails() |
| Modifier and Type | Method and Description |
|---|---|
ErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
The error message from the job, if there is one.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorMessage(String errorMessage)
The error message from the job, if there is one.
|
String |
toString()
Returns a string representation of this object.
|
ErrorDetails |
withErrorMessage(String errorMessage)
The error message from the job, if there is one.
|
public void setErrorMessage(String errorMessage)
The error message from the job, if there is one.
errorMessage - The error message from the job, if there is one.public String getErrorMessage()
The error message from the job, if there is one.
public ErrorDetails withErrorMessage(String errorMessage)
The error message from the job, if there is one.
errorMessage - The error message from the job, if there is one.public String toString()
toString in class ObjectObject.toString()public ErrorDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.