public ClusterTimeline withEndDateTime(java.util.Date endDateTime) {
        setEndDateTime(endDateTime);
        return this;
    }
<p>
The date and time when the cluster was terminated.
</p>

@param endDateTime
       The date and time when the cluster was terminated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/ClusterTimeline.java