public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical
metrics data. The time must be specified using an interval of 5 minutes, such as 11:00, 11:05, 11:10, and must be
later than the start time timestamp.
</p>
<p>
The time range between the start and end time must be less than 24 hours.
</p>

@param endTime
       The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of
       historical metrics data. The time must be specified using an interval of 5 minutes, such as 11:00, 11:05,
       11:10, and must be later than the start time timestamp.</p>
       <p>
       The time range between the start and end time must be less than 24 hours.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataRequest.java