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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AthenaError.BuildererrorCategory(Integer errorCategory)An integer value that specifies the category of a query failure error.AthenaError.BuildererrorMessage(String errorMessage)Contains a short description of the error that occurred.AthenaError.BuildererrorType(Integer errorType)An integer value that provides specific information about an Athena query error.AthenaError.Builderretryable(Boolean retryable)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
errorCategory
AthenaError.Builder errorCategory(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 - 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
AthenaError.Builder errorType(Integer 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
AthenaError.Builder retryable(Boolean 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
AthenaError.Builder errorMessage(String 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.
-
-