public ListFindingsMetricsRequest withEndDate(java.util.Date endDate) {
        setEndDate(endDate);
        return this;
    }
<p>
The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
</p>

@param endDate
       The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/ListFindingsMetricsRequest.java