public JournalKinesisStreamDescription withErrorCause(ErrorCause errorCause) {
        this.errorCause = errorCause.toString();
        return this;
    }
<p>
The error message that describes the reason that a stream has a status of <code>IMPAIRED</code> or
<code>FAILED</code>. This is not applicable to streams that have other status values.
</p>

@param errorCause
       The error message that describes the reason that a stream has a status of <code>IMPAIRED</code> or
       <code>FAILED</code>. This is not applicable to streams that have other status values.
@return Returns a reference to this object so that method calls can be chained together.
@see ErrorCause
aws-java-sdk-qldb/src/main/java/com/amazonaws/services/qldb/model/JournalKinesisStreamDescription.java