public String getErrorCode() {
        return this.errorCode;
    }
<p>
The error code explaining why the account failed to enable Amazon Inspector.
</p>

@return The error code explaining why the account failed to enable Amazon Inspector.
@see ErrorCode
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/State.java