public UpdateError withErrorCode(String errorCode) {
        setErrorCode(errorCode);
        return this;
    }
<p>
The error code that corresponds to the error with the last update.
</p>

@param errorCode
       The error code that corresponds to the error with the last update.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mwaa/src/main/java/com/amazonaws/services/mwaa/model/UpdateError.java