public MessageInsightsFilters withLastEngagementEvent(EngagementEventType... lastEngagementEvent) {
        java.util.ArrayList<String> lastEngagementEventCopy = new java.util.ArrayList<String>(lastEngagementEvent.length);
        for (EngagementEventType value : lastEngagementEvent) {
            lastEngagementEventCopy.add(value.toString());
        }
        if (getLastEngagementEvent() == null) {
            setLastEngagementEvent(lastEngagementEventCopy);
        } else {
            getLastEngagementEvent().addAll(lastEngagementEventCopy);
        }
        return this;
    }
<p>
The last engagement-related event for the email, where the ordering is as follows: <code>OPEN</code> &lt;
<code>CLICK</code>.
</p>
<p>
Engagement events are only available if <a
href="https://docs.aws.amazon.com/ses/latest/dg/vdm-settings.html">Engagement tracking</a> is enabled.
</p>

@param lastEngagementEvent
       The last engagement-related event for the email, where the ordering is as follows: <code>OPEN</code> &lt;
       <code>CLICK</code>. </p>
       <p>
       Engagement events are only available if <a
       href="https://docs.aws.amazon.com/ses/latest/dg/vdm-settings.html">Engagement tracking</a> is enabled.
@return Returns a reference to this object so that method calls can be chained together.
@see EngagementEventType
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/MessageInsightsFilters.java