public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }
<p>
Time when the channel went offline. This is an ISO 8601 timestamp; <i>note that this is returned as a string</i>.
For live streams, this is <code>NULL</code>.
</p>

@param endTime
       Time when the channel went offline. This is an ISO 8601 timestamp; <i>note that this is returned as a
       string</i>. For live streams, this is <code>NULL</code>.
aws-java-sdk-ivs/src/main/java/com/amazonaws/services/ivs/model/StreamSession.java