@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
Error information for the data source creation or update.
| Constructor and Description | 
|---|
| DataSourceErrorInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| DataSourceErrorInfo | clone() | 
| boolean | equals(Object obj) | 
| String | getMessage()
 Error message. | 
| String | getType()
 Error type. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setMessage(String message)
 Error message. | 
| void | setType(String type)
 Error type. | 
| String | toString()Returns a string representation of this object. | 
| DataSourceErrorInfo | withMessage(String message)
 Error message. | 
| DataSourceErrorInfo | withType(DataSourceErrorInfoType type)
 Error type. | 
| DataSourceErrorInfo | withType(String type)
 Error type. | 
public void setType(String type)
Error type.
type - Error type.DataSourceErrorInfoTypepublic String getType()
Error type.
DataSourceErrorInfoTypepublic DataSourceErrorInfo withType(String type)
Error type.
type - Error type.DataSourceErrorInfoTypepublic DataSourceErrorInfo withType(DataSourceErrorInfoType type)
Error type.
type - Error type.DataSourceErrorInfoTypepublic void setMessage(String message)
Error message.
message - Error message.public String getMessage()
Error message.
public DataSourceErrorInfo withMessage(String message)
Error message.
message - Error message.public String toString()
toString in class ObjectObject.toString()public DataSourceErrorInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.