public InternetEventSummary withEndedAt(java.util.Date endedAt) {
        setEndedAt(endedAt);
        return this;
    }
<p>
The time when an internet event ended. If the event hasn't ended yet, this value is empty.
</p>

@param endedAt
       The time when an internet event ended. If the event hasn't ended yet, this value is empty.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-internetmonitor/src/main/java/com/amazonaws/services/internetmonitor/model/InternetEventSummary.java