@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.ErrorCategory
public String getErrorCategory()
The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.
ErrorCategory
public 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.ErrorCategory
public 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.ErrorCategory
public String toString()
toString
in class Object
Object.toString()
public ErrorCause clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.