public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
The time when the observation ended, in epoch seconds.
</p>

@param endTime
       The time when the observation ended, in epoch seconds.
aws-java-sdk-applicationinsights/src/main/java/com/amazonaws/services/applicationinsights/model/Observation.java