public StageSession withEndTime(java.util.Date endTime) {
        setEndTime(endTime);
        return this;
    }
<p>
ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
</p>

@param endTime
       ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is
       active.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ivsrealtime/src/main/java/com/amazonaws/services/ivsrealtime/model/StageSession.java