public void setLastErrorCode(String lastErrorCode) {
        this.lastErrorCode = lastErrorCode;
    }
<p>
The error code that Config returned when the rule last failed.
</p>

@param lastErrorCode
       The error code that Config returned when the rule last failed.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ConfigRuleEvaluationStatus.java