public DatasetProperties withEndTime(java.util.Date endTime) {
        setEndTime(endTime);
        return this;
    }
<p>
Time when the data from the dataset becomes available in the data lake.
</p>

@param endTime
       Time when the data from the dataset becomes available in the data lake.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DatasetProperties.java