@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskError extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an error returned from a user access task.
| Constructor and Description |
|---|
TaskError() |
| Modifier and Type | Method and Description |
|---|---|
TaskError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The code of the error.
|
String |
getErrorMessage()
The message of the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The code of the error.
|
void |
setErrorMessage(String errorMessage)
The message of the error.
|
String |
toString()
Returns a string representation of this object.
|
TaskError |
withErrorCode(String errorCode)
The code of the error.
|
TaskError |
withErrorMessage(String errorMessage)
The message of the error.
|
public void setErrorCode(String errorCode)
The code of the error.
errorCode - The code of the error.public String getErrorCode()
The code of the error.
public TaskError withErrorCode(String errorCode)
The code of the error.
errorCode - The code of the error.public void setErrorMessage(String errorMessage)
The message of the error.
errorMessage - The message of the error.public String getErrorMessage()
The message of the error.
public TaskError withErrorMessage(String errorMessage)
The message of the error.
errorMessage - The message of the error.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.