public DatasetSummary withLastModificationTime(java.util.Date lastModificationTime) {
        setLastModificationTime(lastModificationTime);
        return this;
    }
<p>
When you create a dataset, <code>LastModificationTime</code> is the same as <code>CreationTime</code>. While data
is being imported to the dataset, <code>LastModificationTime</code> is the current time of the
<code>ListDatasets</code> call. After a <a
href="https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html">CreateDatasetImportJob</a>
operation has finished, <code>LastModificationTime</code> is when the import job completed or failed.
</p>

@param lastModificationTime
       When you create a dataset, <code>LastModificationTime</code> is the same as <code>CreationTime</code>.
       While data is being imported to the dataset, <code>LastModificationTime</code> is the current time of the
       <code>ListDatasets</code> call. After a <a
       href="https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html"
       >CreateDatasetImportJob</a> operation has finished, <code>LastModificationTime</code> is when the import
       job completed or failed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/DatasetSummary.java