public UnprocessedSecurityControl withErrorCode(UnprocessedErrorCode errorCode) {
        this.errorCode = errorCode.toString();
        return this;
    }
<p>
The error code for the unprocessed security control.
</p>

@param errorCode
       The error code for the unprocessed security control.
@return Returns a reference to this object so that method calls can be chained together.
@see UnprocessedErrorCode
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/UnprocessedSecurityControl.java