public AuditCheckDetails withErrorCode(String errorCode) {
        setErrorCode(errorCode);
        return this;
    }
<p>
The code of any error encountered when this check is performed during this audit. One of
"INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
</p>

@param errorCode
       The code of any error encountered when this check is performed during this audit. One of
       "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/AuditCheckDetails.java