@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.DataSourceErrorInfoType
public String getType()
Error type.
DataSourceErrorInfoType
public DataSourceErrorInfo withType(String type)
Error type.
type
- Error type.DataSourceErrorInfoType
public DataSourceErrorInfo withType(DataSourceErrorInfoType type)
Error type.
type
- Error type.DataSourceErrorInfoType
public 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 Object
Object.toString()
public DataSourceErrorInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.