@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorCause extends Object implements Serializable, Cloneable, StructuredPojo
The error info of the create/delete data store operation.
| Constructor and Description |
|---|
ErrorCause() |
| Modifier and Type | Method and Description |
|---|---|
ErrorCause |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCategory()
The error category of the create/delete data store operation.
|
String |
getErrorMessage()
The text of the error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCategory(String errorCategory)
The error category of the create/delete data store operation.
|
void |
setErrorMessage(String errorMessage)
The text of the error message.
|
String |
toString()
Returns a string representation of this object.
|
ErrorCause |
withErrorCategory(ErrorCategory errorCategory)
The error category of the create/delete data store operation.
|
ErrorCause |
withErrorCategory(String errorCategory)
The error category of the create/delete data store operation.
|
ErrorCause |
withErrorMessage(String errorMessage)
The text of the error message.
|
public void setErrorMessage(String errorMessage)
The text of the error message.
errorMessage - The text of the error message.public String getErrorMessage()
The text of the error message.
public ErrorCause withErrorMessage(String errorMessage)
The text of the error message.
errorMessage - The text of the error message.public void setErrorCategory(String errorCategory)
The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.
errorCategory - The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or
NON_RETRYABLE_ERROR.ErrorCategorypublic String getErrorCategory()
The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.
ErrorCategorypublic ErrorCause withErrorCategory(String errorCategory)
The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.
errorCategory - The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or
NON_RETRYABLE_ERROR.ErrorCategorypublic ErrorCause withErrorCategory(ErrorCategory errorCategory)
The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.
errorCategory - The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or
NON_RETRYABLE_ERROR.ErrorCategorypublic String toString()
toString in class ObjectObject.toString()public ErrorCause clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.