public ErrorInfo withErrorType(String errorType) {
        setErrorType(errorType);
        return this;
    }
<p>
Specifies the type of error.
</p>

@param errorType
       Specifies the type of error.
@return Returns a reference to this object so that method calls can be chained together.
@see ErrorDetails
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/ErrorInfo.java