@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AthenaError extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an Athena query error. The AthenaError feature provides standardized error
information to help you understand failed queries and take steps after a query failure occurs.
AthenaError includes an ErrorCategory field that specifies whether the cause of the failed
query is due to system error, user error, or unknown error.
| Constructor and Description |
|---|
AthenaError() |
| Modifier and Type | Method and Description |
|---|---|
AthenaError |
clone() |
boolean |
equals(Object obj) |
Integer |
getErrorCategory()
An integer value that specifies the category of a query failure error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setErrorCategory(Integer errorCategory)
An integer value that specifies the category of a query failure error.
|
String |
toString()
Returns a string representation of this object.
|
AthenaError |
withErrorCategory(Integer errorCategory)
An integer value that specifies the category of a query failure error.
|
public void setErrorCategory(Integer errorCategory)
An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.
1 - System
2 - User
3 - Unknown
errorCategory - An integer value that specifies the category of a query failure error. The following list shows the
category for each integer value.
1 - System
2 - User
3 - Unknown
public Integer getErrorCategory()
An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.
1 - System
2 - User
3 - Unknown
1 - System
2 - User
3 - Unknown
public AthenaError withErrorCategory(Integer errorCategory)
An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.
1 - System
2 - User
3 - Unknown
errorCategory - An integer value that specifies the category of a query failure error. The following list shows the
category for each integer value.
1 - System
2 - User
3 - Unknown
public String toString()
toString in class ObjectObject.toString()public AthenaError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.