public CreateTaskRequest withManifestConfig(ManifestConfig manifestConfig) {
        setManifestConfig(manifestConfig);
        return this;
    }
<p>
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more
information and configuration examples, see <a
href="https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html">Specifying what
DataSync transfers by using a manifest</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>

@param manifestConfig
       Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more
       information and configuration examples, see <a
       href="https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html">Specifying
       what DataSync transfers by using a manifest</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.
@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/CreateTaskRequest.java