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