public LastReportGenerationExecutionError withErrorMessage(String errorMessage) {
        setErrorMessage(errorMessage);
        return this;
    }
<p>
The error message for the error that is returned when a usage report can't be generated.
</p>

@param errorMessage
       The error message for the error that is returned when a usage report can't be generated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/LastReportGenerationExecutionError.java