public TaskReportConfig getTaskReportConfig() {
        return this.taskReportConfig;
    }
<p>
Specifies how you want to configure a task report, which provides detailed information about your DataSync
transfer. For more information, see <a
href="https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html">Monitoring your DataSync transfers
with task reports</a>.
</p>
<p>
When using this parameter, your caller identity (the role that you're using DataSync with) must have the
<code>iam:PassRole</code> permission. The <a href=
"https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess"
>AWSDataSyncFullAccess</a> policy includes this permission.
</p>

@return Specifies how you want to configure a task report, which provides detailed information about your
        DataSync transfer. For more information, see <a
        href="https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html">Monitoring your DataSync
        transfers with task reports</a>.</p>
        <p>
        When using this parameter, your caller identity (the role that you're using DataSync with) must have the
        <code>iam:PassRole</code> permission. The <a href=
        "https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess"
        >AWSDataSyncFullAccess</a> policy includes this permission.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/CreateTaskRequest.java