public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
The timestamp indicating the latest data to be returned.
</p>

@param endTime
       The timestamp indicating the latest data to be returned.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetBucketMetricDataRequest.java