@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.DataSourceErrorType
public String getErrorType()
The type of the error message that is returned if the operation cannot be successfully completed.
DataSourceErrorType
public 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.DataSourceErrorType
public 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.DataSourceErrorType
public String toString()
toString
in class Object
Object.toString()
public DataSourceErrorMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.