public ReportResult withErrorDetail(String errorDetail) {
        setErrorDetail(errorDetail);
        return this;
    }
<p>
Provides details about issues creating a report.
</p>

@param errorDetail
       Provides details about issues creating a report.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/ReportResult.java