Interface AthenaError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AthenaError.Builder,
,AthenaError> SdkBuilder<AthenaError.Builder,
,AthenaError> SdkPojo
- Enclosing class:
AthenaError
public static interface AthenaError.Builder
extends SdkPojo, CopyableBuilder<AthenaError.Builder,AthenaError>
-
Method Summary
Modifier and TypeMethodDescriptionerrorCategory
(Integer errorCategory) An integer value that specifies the category of a query failure error.errorMessage
(String errorMessage) Contains a short description of the error that occurred.An integer value that provides specific information about an Athena query error.True if the query might succeed if resubmitted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 - Other
- Parameters:
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 - Other
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorType
An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide.
- Parameters:
errorType
- An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryable
True if the query might succeed if resubmitted.
- Parameters:
retryable
- True if the query might succeed if resubmitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
Contains a short description of the error that occurred.
- Parameters:
errorMessage
- Contains a short description of the error that occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-