public AthenaError withErrorType(Integer errorType) {
        setErrorType(errorType);
        return this;
    }
<p>
An integer value that provides specific information about an Athena query error. For the meaning of specific
values, see the <a
href="https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference"
>Error Type Reference</a> in the <i>Amazon Athena User Guide</i>.
</p>

@param errorType
       An integer value that provides specific information about an Athena query error. For the meaning of
       specific values, see the <a href=
       "https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference"
       >Error Type Reference</a> in the <i>Amazon Athena User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/AthenaError.java