public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
The date and time specifying the end of the requested time series query range. The value specified is
<i>exclusive</i>. Thus, the command returns data points less than (but not equal to) <code>EndTime</code>.
</p>
<p>
The value for <code>EndTime</code> must be later than the value for <code>StartTime</code>.
</p>

@param endTime
       The date and time specifying the end of the requested time series query range. The value specified is
       <i>exclusive</i>. Thus, the command returns data points less than (but not equal to) <code>EndTime</code>
       .</p>
       <p>
       The value for <code>EndTime</code> must be later than the value for <code>StartTime</code>.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/GetResourceMetricsRequest.java