@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 setErrorCode(String errorCode)
The code associated with the data source sync error.
errorCode
- The code associated with the data source sync error.ErrorCode
public String getErrorCode()
The code associated with the data source sync error.
ErrorCode
public ErrorDetail withErrorCode(String errorCode)
The code associated with the data source sync error.
errorCode
- The code associated with the data source sync error.ErrorCode
public ErrorDetail withErrorCode(ErrorCode errorCode)
The code associated with the data source sync error.
errorCode
- The code associated with the data source sync error.ErrorCode
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 String toString()
toString
in class Object
Object.toString()
public ErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.