@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes in-depth details about the error. These details include the possible causes of the error and troubleshooting information.
| Constructor and Description |
|---|
ErrorDetails() |
| Modifier and Type | Method and Description |
|---|---|
ErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
Indicates the error code returned.
|
String |
getErrorMessage()
The text of the error message related the error code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
Indicates the error code returned.
|
void |
setErrorMessage(String errorMessage)
The text of the error message related the error code.
|
String |
toString()
Returns a string representation of this object.
|
ErrorDetails |
withErrorCode(String errorCode)
Indicates the error code returned.
|
ErrorDetails |
withErrorCode(WorkspaceImageErrorDetailCode errorCode)
Indicates the error code returned.
|
ErrorDetails |
withErrorMessage(String errorMessage)
The text of the error message related the error code.
|
public void setErrorCode(String errorCode)
Indicates the error code returned.
errorCode - Indicates the error code returned.WorkspaceImageErrorDetailCodepublic String getErrorCode()
Indicates the error code returned.
WorkspaceImageErrorDetailCodepublic ErrorDetails withErrorCode(String errorCode)
Indicates the error code returned.
errorCode - Indicates the error code returned.WorkspaceImageErrorDetailCodepublic ErrorDetails withErrorCode(WorkspaceImageErrorDetailCode errorCode)
Indicates the error code returned.
errorCode - Indicates the error code returned.WorkspaceImageErrorDetailCodepublic void setErrorMessage(String errorMessage)
The text of the error message related the error code.
errorMessage - The text of the error message related the error code.public String getErrorMessage()
The text of the error message related the error code.
public ErrorDetails withErrorMessage(String errorMessage)
The text of the error message related the error code.
errorMessage - The text of the error message related the error code.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.