@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceErrorMessage extends Object implements Serializable, Cloneable, StructuredPojo
The details of the error message that is returned if the operation cannot be successfully completed.
| Constructor and Description |
|---|
DataSourceErrorMessage() |
| Modifier and Type | Method and Description |
|---|---|
DataSourceErrorMessage |
clone() |
boolean |
equals(Object obj) |
String |
getErrorDetail()
The details of the error message that is returned if the operation cannot be successfully completed.
|
String |
getErrorType()
The type of the error message that is returned if the operation cannot be successfully completed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorDetail(String errorDetail)
The details of the error message that is returned if the operation cannot be successfully completed.
|
void |
setErrorType(String errorType)
The type of the error message that is returned if the operation cannot be successfully completed.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceErrorMessage |
withErrorDetail(String errorDetail)
The details of the error message that is returned if the operation cannot be successfully completed.
|
DataSourceErrorMessage |
withErrorType(DataSourceErrorType errorType)
The type of the error message that is returned if the operation cannot be successfully completed.
|
DataSourceErrorMessage |
withErrorType(String errorType)
The type of the error message that is returned if the operation cannot be successfully completed.
|
public void setErrorDetail(String errorDetail)
The details of the error message that is returned if the operation cannot be successfully completed.
errorDetail - The details of the error message that is returned if the operation cannot be successfully completed.public String getErrorDetail()
The details of the error message that is returned if the operation cannot be successfully completed.
public DataSourceErrorMessage withErrorDetail(String errorDetail)
The details of the error message that is returned if the operation cannot be successfully completed.
errorDetail - The details of the error message that is returned if the operation cannot be successfully completed.public void setErrorType(String errorType)
The type of the error message that is returned if the operation cannot be successfully completed.
errorType - The type of the error message that is returned if the operation cannot be successfully completed.DataSourceErrorTypepublic String getErrorType()
The type of the error message that is returned if the operation cannot be successfully completed.
DataSourceErrorTypepublic DataSourceErrorMessage withErrorType(String errorType)
The type of the error message that is returned if the operation cannot be successfully completed.
errorType - The type of the error message that is returned if the operation cannot be successfully completed.DataSourceErrorTypepublic DataSourceErrorMessage withErrorType(DataSourceErrorType errorType)
The type of the error message that is returned if the operation cannot be successfully completed.
errorType - The type of the error message that is returned if the operation cannot be successfully completed.DataSourceErrorTypepublic String toString()
toString in class ObjectObject.toString()public DataSourceErrorMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.