public Recommendation withEndTime(java.util.Date endTime) {
        setEndTime(endTime);
        return this;
    }
<p>
End time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
</p>

@param endTime
       End time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For
       example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/Recommendation.java