public ErrorInfo withErrorCode(String errorCode) {
        setErrorCode(errorCode);
        return this;
    }
<p>
A number describing the error programmatically.
</p>

@param errorCode
       <p>
       A number describing the error programmatically.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ErrorInfo.java