@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about the error.
| Constructor and Description |
|---|
ErrorDetail() |
| Modifier and Type | Method and Description |
|---|---|
ErrorDetail |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code that identifies the type of error.
|
String |
getErrorMessage()
The message for the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The error code that identifies the type of error.
|
void |
setErrorMessage(String errorMessage)
The message for the error.
|
String |
toString()
Returns a string representation of this object.
|
ErrorDetail |
withErrorCode(String errorCode)
The error code that identifies the type of error.
|
ErrorDetail |
withErrorMessage(String errorMessage)
The message for the error.
|
public void setErrorCode(String errorCode)
The error code that identifies the type of error.
errorCode - The error code that identifies the type of error.public String getErrorCode()
The error code that identifies the type of error.
public ErrorDetail withErrorCode(String errorCode)
The error code that identifies the type of error.
errorCode - The error code that identifies the type of error.public void setErrorMessage(String errorMessage)
The message for the error.
errorMessage - The message for the error.public String getErrorMessage()
The message for the error.
public ErrorDetail withErrorMessage(String errorMessage)
The message for the error.
errorMessage - The message for the error.public String toString()
toString in class ObjectObject.toString()public ErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.